Skip to main content

Embeddings LLM

POST 

/v1/embeddings

Generate embeddings for the given input text using the specified model.

The model field in the request body specifies the model to use. Check the /models route for complete list of embedding models. You can specify the encoding format (float or np) and the dimensions (up to 1536) of the output embedding vector.

Request

Responses

Embedding vector generated successfully