CompletionResponse

@JsonSerializable
data class CompletionResponse(val id: CompletionId, val created: Timestamp, val model: ModelName, val choices: List<Choice>, val objectType: ObjectType, val usage: Usage? = null, val system_fingerprint: String? = null, val service_tier: String? = null)

Constructors

Link copied to clipboard
constructor(id: CompletionId, created: Timestamp, model: ModelName, choices: List<Choice>, objectType: ObjectType, usage: Usage? = null, system_fingerprint: String? = null, service_tier: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonProperty(name = "object")
val objectType: ObjectType
Link copied to clipboard
val service_tier: String? = null
Link copied to clipboard
Link copied to clipboard
val usage: Usage? = null