text-multilingual-embedding-002
Last updated
Was this helpful?
Last updated
Was this helpful?
A state-of-the-art model designed to convert textual data into numerical vector representations, capturing the semantic meaning and context of the input text. It is particularly focused on supporting multiple languages, making it suitable for global applications.
If you don’t have an API key for the AI/ML API yet, feel free to use our .
Input text to embed, encoded as a string or array of tokens.
The number of dimensions the resulting output embeddings should have.
If enabled, this parameter automatically truncates the input text to fit within the model’s maximum token limit. It helps ensure that longer texts are processed without errors.
true
Optional task type for which the embeddings will be used
An optional title for the text. Only applicable when task_type is RETRIEVAL_DOCUMENT.
Note: Specifying a title for RETRIEVAL_DOCUMENT provides better quality embeddings for retrieval.
The format in which to return the embeddings.
No content