| title | EmbeddingModel |
|---|---|
| description | EmbeddingModel Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| provider | Enum<'openai' | 'cohere' | 'huggingface' | 'azure_openai' | 'local' | 'custom'> |
✅ | |
| model | string |
✅ | Model name (e.g., "text-embedding-3-large") |
| dimensions | integer |
✅ | Embedding vector dimensions |
| maxTokens | integer |
optional | Maximum tokens per embedding |
| batchSize | integer |
optional | Batch size for embedding |
| endpoint | string |
optional | Custom endpoint URL |
| apiKey | string |
optional | API key or reference to secret |