Endpoints
Generate embeddings
Creates vector embeddings representing the input text
POST
Documentation Index
Fetch the complete documentation index at: https://docs.ollama.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Model name
Text or array of texts to generate embeddings for
If true, truncate inputs that exceed the context window. If false, returns an error.
Number of dimensions to generate embeddings for
Model keep-alive duration
Runtime options that control text generation
Response
200 - application/json
Vector embeddings for the input text

