OpenAIChatCompletionResponse
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(source)
Represents the response from the OpenAI chat completion API.
Constructors
Link copied to clipboard
constructor(choices: List<OpenAIChoice>, created: Long, id: String, model: String, serviceTier: String? = null, systemFingerprint: String? = null, objectType: String, usage: OpenAIUsage? = null)
Properties
Link copied to clipboard
A list of chat completion choices. Can be more than one if n
is greater than 1.
Link copied to clipboard
The object type, which is always chat.completion
.
Link copied to clipboard
Specifies the processing type used for serving the request.
Link copied to clipboard
This fingerprint represents the backend configuration that the model runs with.
Link copied to clipboard
Usage statistics for the completion request.