Gateway APIs
Generate Embeddings
Generate vector embeddings for input text(s).
POST
Headers
Body
Chunking Configuration
Thechunking parameter accepts an object with the following fields:
Supported Providers
OpenAI
text-embedding-3-small, text-embedding-3-large, ada-002
Azure OpenAI
Enterprise text embeddings with global availability
Cohere
embed-english-v3.0, embed-multilingual-v3.0
Voyage AI
voyage-2, voyage-code-2 specialized embeddings
Together AI
Nomic Embed and open-source embedding models
text-embedding-004 and multimodal embeddings