Generate Embeddings Using Mistral API
mistral_embedding(
.llm,
.model = "mistral-embed",
.timeout = 120,
.max_tries = 3,
.dry_run = FALSE
)
A matrix where each column corresponds to the embedding of a message in the message history.
An existing LLMMessage object (or a character vector of texts to embed)
The embedding model identifier (default: "mistral-embed").
Timeout for the API request in seconds (default: 120).
Maximum retries to peform request
If TRUE, perform a dry run and return the request object.