E5-Mistral-7B-Instruct
- Model: E5-Mistral-7B-Instruct
- Description: High-quality multilingual embedding model based on Mistral 7B. Excels at semantic similarity, retrieval, and classification tasks across multiple languages.
- Model ID:
E5-Mistral-7B-Instruct - Context length: 4,096 tokens
- Embedding dimensions: 4,096
- Supported languages: English, German, French, Italian, Portuguese, Hindi, Spanish, Thai
- Get an API key from the API keys and URLs page.
- Review sample implementations in the documentation.
- Generate embeddings using provided examples.
- Integrate embeddings into your application workflows.
Generating embeddings
The Infercom Embeddings API is designed for seamless integration with existing applications and follows OpenAI’s embeddings API structure, simplifying migration and adoption. The model takes in text as input and outputs a vector of floating-point numbers, which can be used for tasks like similarity searches.Generating a single embedding
To generate an embedding for a single input text, useclient.embeddings.create() with the model name and input string.
Example
Example response
Generating multiple embeddings
To generate embeddings for multiple inputs in a single request, pass an array of input strings to theinput parameter.