Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class ObjectId : AbstractValue<String>
Link copied to clipboard
class ObjectType : AbstractValue<String>
Link copied to clipboard
interface OpenAI

Docs: https://platform.openai.com/docs/api-reference

Link copied to clipboard
interface OpenAIAction<R> : Action<Result<R, RemoteFailure>>
Link copied to clipboard
@KotshiJsonAdapterFactory
object OpenAIJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class OpenAIOrg : AbstractValue<String>
Link copied to clipboard
typealias OpenAIToken = ApiKey
Link copied to clipboard
Link copied to clipboard
object ResponseFormatAdapterFactory : JsonAdapter.Factory

OpenAI nests name and strict inside response_format.json_schema, while ResponseFormat.JsonSchema exposes strict and json_schema as constructor properties and stores name separately.

Link copied to clipboard
enum Style : Enum<Style>
Link copied to clipboard
class TokenId : AbstractValue<String>
Link copied to clipboard
class User : AbstractValue<String>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun OpenAI.Companion.Http(token: ApiKey, http: HttpHandler = JavaHttpClient(), org: OpenAIOrg? = null): OpenAI