View Source ExOpenAI.Components.CreateEmbeddingRequest (ex_openai.ex v1.7.0)
Schema representing a CreateEmbeddingRequest within the OpenAI API
Summary
Types
@type t() :: %ExOpenAI.Components.CreateEmbeddingRequest{ dimensions: integer() | nil, encoding_format: (:base64 | :float) | nil, input: [[integer()]] | [integer()] | [String.t()] | String.t(), model: (:"text-embedding-3-large" | :"text-embedding-3-small" | :"text-embedding-ada-002") | String.t(), user: String.t() | nil }