The SDK automatically detects the provider based on the model name. Below is the complete list of supported embedding models.Documentation Index
Fetch the complete documentation index at: https://docs.tracia.io/llms.txt
Use this file to discover all available pages before exploring further.
Anthropic does not offer native embedding models. Use OpenAI, Google, or Amazon Bedrock for embeddings.
OpenAI
| Model | Dimensions | Description |
|---|---|---|
text-embedding-3-small | 1536 | Recommended for most use cases. Best balance of cost and performance. |
text-embedding-3-large | 3072 | Higher quality embeddings with more dimensions. Supports dimensions parameter for reduced output. |
text-embedding-ada-002 | 1536 | Legacy model. Use text-embedding-3-small for new projects. |
Dimension Override
OpenAI’stext-embedding-3-small and text-embedding-3-large, and Google’s text-embedding-004 support the dimensions parameter to reduce the output size:
| Model | Dimensions | Description |
|---|---|---|
text-embedding-004 | 768 | Google’s latest text embedding model. |
Amazon Bedrock
| Model | Dimensions | Description |
|---|---|---|
amazon.titan-embed-text-v2:0 | 1024 | Amazon Titan Text Embeddings v2. |
cohere.embed-english-v3 | 1024 | Cohere Embed English v3 via Bedrock. |
Amazon Bedrock models require AWS credentials (
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION) to be set in your environment.Voyage AI
| Model | Dimensions | Description |
|---|---|---|
voyage-3 | 1024 | General-purpose embedding model. |
voyage-3-large | 1024 | Higher quality, larger model. |
voyage-3-lite | 512 | Lightweight, lower cost. |
voyage-code-3 | 1024 | Optimized for code retrieval and understanding. |
voyage-finance-2 | 1024 | Fine-tuned for financial documents. |
voyage-law-2 | 1024 | Fine-tuned for legal documents. |
Voyage AI requires a
VOYAGE_API_KEY environment variable. Voyage is an embedding-only provider and cannot be used with runLocal().
