Package-level declarations
Types
Link copied to clipboard
class OpenAIChatCompletionResponse(val choices: List<OpenAIChoice>, val created: Long, val id: String, val model: String, val serviceTier: String? = null, val systemFingerprint: String? = null, val objectType: String, val usage: OpenAIUsage? = null) : OpenAIBaseLLMResponse
Represents the response from the OpenAI chat completion API.
Link copied to clipboard
class OpenAIChatCompletionStreamResponse(val choices: List<OpenAIStreamChoice>, val created: Long, val id: String, val model: String, val serviceTier: String? = null, val systemFingerprint: String? = null, val objectType: String, val usage: OpenAIUsage? = null) : OpenAIBaseLLMStreamResponse
Represents the stream response from the OpenAI chat completion API.
Link copied to clipboard
class OpenAIChoice(val finishReason: String, val index: Int, val logprobs: OpenAIChoiceLogProbs? = null, val message: OpenAIMessage)
Chat completion choice
Link copied to clipboard
Configuration options for reasoning models.
Link copied to clipboard
Represents different levels of reasoning summary that can be used to specify the desired detail in responses.
Link copied to clipboard
Represents the verbosity level for text output.
Link copied to clipboard
Represents the truncation behavior for processing inputs.