- Define which Voyage AI model to use
- Specify the dimensionality of the embeddings
- Configure the model’s truncation behavior and API key name
- Configure the input type (query vs document)
Samples
Basic Voyage AI embedding
With custom API key name
With input type
Arguments
Returns
A JSON configuration object for use increate_vectorizer().
Related functions
embedding_openai(): use OpenAI modelsembedding_ollama(): use local Ollama modelsembedding_litellm(): use any provider through LiteLLM