--- id: voyage-ai.md title: "Voyage AI" summary: "This topic describes how to configure and use Voyage AI embedding functions in Milvus." beta: Milvus 2.6.x --- # Voyage AI This topic describes how to configure and use Voyage AI embedding functions in Milvus. ## Choose an embedding model Milvus supports embedding models provided by Voyage AI. Below are the currently available embedding models for quick reference:
Model Name |
Dimensions |
Max Tokens |
Description |
|---|---|---|---|
voyage-3-large |
1,024 (default), 256, 512, 2,048 |
32,000 |
The best general-purpose and multilingual retrieval quality. |
voyage-3 |
1,024 |
32,000 |
Optimized for general-purpose and multilingual retrieval quality. Refer to blog post for details. |
voyage-3-lite |
512 |
32,000 |
Optimized for latency and cost. Refer to blog post for details. |
voyage-code-3 |
1,024 (default), 256, 512, 2,048 |
32,000 |
Optimized for code retrieval. Refer to blog post for details. |
voyage-finance-2 |
1,024 |
32,000 |
Optimized for finance retrieval and RAG. Refer to blog post for details. |
voyage-law-2 |
1,024 |
16,000 |
Optimized for legal retrieval and RAG. Also improved performance across all domains. Refer to blog post for details. |
voyage-code-2 |
1,536 |
16,000 |
Optimized for code retrieval (17% better than alternatives) / Previous generation of code embeddings. Refer to blog post for details. |
Variable |
Required |
Description |
|---|---|---|
|
Yes |
Your valid Voyage AI API key. |