Embedding Models
The role of Embedding models in RAG, Embedding models currently enabled in MaiAgent Cloud, the default model for on-premises deployments, and interface requirements for your own Embedding service.
What Is Embedding?
An Embedding model converts text into a sequence of numbers (a vector). Text with similar meanings produces similar vectors, so the system can use vector distances to find semantically related passages, even when a question and a document use different wording.
In MaiAgent's RAG workflow, the Embedding model performs two tasks:
Build the index: Convert each passage from parsed knowledge base content into a vector and store it in the vector database.
Convert the question: Convert the user's question into a vector and compare its similarity with passages in the database.

For the complete retrieval workflow, see RAG Knowledge Base Retrieval System.
What to Know Before Choosing
You cannot change it in the admin console after creation: You select the Embedding model when creating a knowledge base. Vectors produced by different models cannot be compared with each other. To switch models, create a new knowledge base or contact your MaiAgent representative.
Image files require a multimodal model: To add image files (such as
.pngand.jpg) to a knowledge base and index them, the knowledge base must use an Embedding model that supports multimodal input. Otherwise, parsing those files will fail.An Agent can use multiple models: A single Agent can connect to knowledge bases that use different Embedding models. The platform queries each knowledge base separately and combines the results.
Models Enabled in MaiAgent Cloud
The following models are enabled in the production environment as of October 2026. The models available when creating a knowledge base are those shown in the admin console.
OpenAI text-embedding-3
OpenAI (text-embedding-3-large)
No
Cohere Embed V4.0
Cohere (embed-v4.0)
Yes
Cohere Embed Multilingual v3.0 (Bedrock)
AWS Bedrock (cohere.embed-multilingual-v3)
No
On-Premises Deployment
On-premises and private cloud deployments can run an Embedding model locally (the deployment package's model catalog includes jina-embeddings-v3, which requires a GPU), or connect to an existing model service or cloud provider. For available models and connection options, see Connecting Model Services for On-Premises Deployments. For Embedding support from each cloud provider, see Cloud Model Inference API Services.
Interface Requirements for Your Own Embedding Service
When connecting to a self-hosted or third-party OpenAI-compatible Embedding service, the URL must include /v1, and the service must accept the parameters sent by MaiAgent. Otherwise, parsing will fail for all knowledge base files. For the full requirements, see Connecting Model Services for On-Premises Deployments: Limitations for Your Own Embedding and Reranker Services.
Last updated
Was this helpful?