Packages

package model

Type Members

  1. case class Choice(text: String, index: Int, logprobs: Option[Float], finish_reason: String) extends Product with Serializable
  2. case class CompletionResponse(id: String, object: String, created: Long, model: String, choices: List[Choice], usage: Usage) extends Product with Serializable
  3. case class EmbeddingData(object: String, embedding: List[Float], index: Int) extends Product with Serializable
  4. case class TextEmbeddingResponse(object: String, data: List[EmbeddingData], model: String, usage: UsageData) extends Product with Serializable
  5. case class Usage(prompt_tokens: Int, completion_tokens: Int, total_tokens: Int) extends Product with Serializable
  6. case class UsageData(prompt_tokens: Int, total_tokens: Int) extends Product with Serializable

Ungrouped