package model
Type Members
- case class Choice(text: String, index: Int, logprobs: Option[Float], finish_reason: String) extends Product with Serializable
- case class CompletionResponse(id: String, object: String, created: Long, model: String, choices: List[Choice], usage: Usage) extends Product with Serializable
- case class EmbeddingData(object: String, embedding: List[Float], index: Int) extends Product with Serializable
- case class TextEmbeddingResponse(object: String, data: List[EmbeddingData], model: String, usage: UsageData) extends Product with Serializable
- case class Usage(prompt_tokens: Int, completion_tokens: Int, total_tokens: Int) extends Product with Serializable
- case class UsageData(prompt_tokens: Int, total_tokens: Int) extends Product with Serializable