ChatResponse
data class ChatResponse(val id: String, val objectType: String = "chat.completions", val created: Long, val model: String, val serviceTier: String? = null, val systemFingerprint: String? = null, val usage: Usage, val choices: List<Choice>)(source)
Represents a chat completion response from the OpenAI API.
See also
Constructors
Properties
Link copied to clipboard
The object type, which is always "chat.completions".
Link copied to clipboard
The service tier used for processing the request.
Link copied to clipboard
A fingerprint representing the backend configuration.