You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My company uses Kotlin server side and it would be nice to have Kotlin DSL builders for the all the objects herein. Happy to help contribute on this if you are looking for some contributors.
The text was updated successfully, but these errors were encountered:
We actually have plans to eventually release a Kotlin specific package (openai-kotlin) where the public API is specifically tailored for Kotlin. For example, openai-kotlin would have:
Nullable return types instead of optionals
Computed properties instead of getter methods
Kotlin-friendly builders :)
For the builders, we were thinking something like this:
val params =ChatCompletionCreateParams {
messages(/* ... */)
// OR
userMessage {
// ...
}
assistantMessage {
// ...
}
// More messages...
model(ChatModel.O1)
// More properties...
}
My company uses Kotlin server side and it would be nice to have Kotlin DSL builders for the all the objects herein. Happy to help contribute on this if you are looking for some contributors.
The text was updated successfully, but these errors were encountered: