View Source ExOpenAI.Components.CreateEmbeddingResponse (ex_openai.ex v1.7.0)

Schema representing a CreateEmbeddingResponse within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CreateEmbeddingResponse{
  data: [ExOpenAI.Components.Embedding.t()],
  model: String.t(),
  object: :list,
  usage: %{prompt_tokens: integer(), total_tokens: integer()}
}