Usage > V2 > OpenAI-compatible
Create embeddings
OpenAI compatible embeddings, see the OpenAI documentation. <br><br> Creates an embedding vector representing the input text. <br><br> Some models are in beta and may being subject to changes, use GET /1/ai/models to check what model are in beta and see our General Terms and Conditions.
post/2/ai/{product_id}/openai/v1/embeddings
Path parameters
product_idinteger required
AI Tools product identifier: use GET /1/ai to retrieve your product identifier.
Request body
Example request
{
"encoding_format": "float",
"model": "bge_multilingual_gemma2"
}Response
OK
Example response
{
"object": "list",
"data": {
"object": "embedding"
},
"model": "bge_multilingual_gemma2"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.