ExLLM.Providers.Gemini.Embeddings.EmbedContentRequest (ex_llm v0.8.1)

View Source

Request containing the Content for the model to embed.

Summary

Types

t()

@type t() :: %ExLLM.Providers.Gemini.Embeddings.EmbedContentRequest{
  content: ExLLM.Providers.Gemini.Content.Content.t(),
  model: String.t() | nil,
  output_dimensionality: integer() | nil,
  task_type: task_type() | nil,
  title: String.t() | nil
}

task_type()

@type task_type() ::
  :retrieval_query
  | :retrieval_document
  | :semantic_similarity
  | :classification
  | :clustering
  | :question_answering
  | :fact_verification
  | :code_retrieval_query