io.cequence.openaiscala.domain.response

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class ChatCompletionChoiceChunkInfo(delta: ChunkMessageSpec, index: Int, finish_reason: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChatCompletionChoiceInfo(message: MessageSpec, index: Int, finish_reason: Option[String]) extends BaseChatCompletionChoiceInfo[MessageSpec]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChatCompletionChunkResponse(id: String, created: Date, model: String, choices: Seq[ChatCompletionChoiceChunkInfo], usage: Option[UsageInfo])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChatCompletionResponse(id: String, created: Date, model: String, choices: Seq[ChatCompletionChoiceInfo], usage: Option[UsageInfo]) extends BaseChatCompletionResponse[MessageSpec, ChatCompletionChoiceInfo]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChatFunCompletionChoiceInfo(message: FunMessageSpec, index: Int, finish_reason: Option[String]) extends BaseChatCompletionChoiceInfo[FunMessageSpec]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChatFunCompletionResponse(id: String, created: Date, model: String, choices: Seq[ChatFunCompletionChoiceInfo], usage: Option[UsageInfo]) extends BaseChatCompletionResponse[FunMessageSpec, ChatFunCompletionChoiceInfo]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ChunkMessageSpec(role: Option[ChatRole], content: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait DeleteResponse

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Deleted.type
object NotDeleted.type
object NotFound.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class EmbeddingInfo(embedding: Seq[Double], index: Int)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class EmbeddingResponse(data: Seq[EmbeddingInfo], model: String, usage: EmbeddingUsageInfo)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class EmbeddingUsageInfo(prompt_tokens: Int, total_tokens: Int)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FileInfo(id: String, bytes: Long, created_at: Date, filename: String, purpose: String, status: String, status_details: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FineTuneEvent(created_at: Date, level: String, message: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FineTuneHyperparams(batch_size: Option[Int], learning_rate_multiplier: Option[Double], n_epochs: Int, prompt_loss_weight: Double)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class FineTuneJob(id: String, model: String, created_at: Date, events: Option[Seq[FineTuneEvent]], fine_tuned_model: Option[String], hyperparams: FineTuneHyperparams, organization_id: String, result_files: Seq[FileInfo], status: String, validation_files: Seq[FileInfo], training_files: Seq[FileInfo], updated_at: Date)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ImageInfo(created: Date, data: Seq[Map[String, String]])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class LogprobsInfo(tokens: Seq[String], token_logprobs: Seq[Double], top_logprobs: Seq[Map[String, Double]], text_offset: Seq[Int])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ModelInfo(id: String, created: Date, owned_by: String, root: String, parent: Option[String], permission: Seq[Permission])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ModerationCategories(hate: Boolean, hate_threatening: Boolean, self_harm: Boolean, sexual: Boolean, sexual_minors: Boolean, violence: Boolean, violence_graphic: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ModerationCategoryScores(hate: Double, hate_threatening: Double, self_harm: Double, sexual: Double, sexual_minors: Double, violence: Double, violence_graphic: Double)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ModerationResponse(id: String, model: String, results: Seq[ModerationResult])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class ModerationResult(categories: ModerationCategories, category_scores: ModerationCategoryScores, flagged: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Permission(id: String, created: Date, allow_create_engine: Boolean, allow_sampling: Boolean, allow_logprobs: Boolean, allow_search_indices: Boolean, allow_view: Boolean, allow_fine_tuning: Boolean, organization: String, group: Option[String], is_blocking: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Used only for debugging... can be removed later on

Used only for debugging... can be removed later on

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class TextCompletionChoiceInfo(text: String, index: Int, logprobs: Option[LogprobsInfo], finish_reason: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TextCompletionResponse(id: String, created: Date, model: String, choices: Seq[TextCompletionChoiceInfo], usage: Option[UsageInfo])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TextEditChoiceInfo(text: String, index: Int, logprobs: Option[LogprobsInfo])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TextEditResponse(created: Date, choices: Seq[TextEditChoiceInfo], usage: UsageInfo)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class TranscriptResponse(text: String, verboseJson: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class UsageInfo(prompt_tokens: Int, total_tokens: Int, completion_tokens: Option[Int])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any