OpenAI Embeddings
Create embeddings
Creates an embedding vector representing the input text. This endpoint is compatible with the OpenAI Embeddings API and may be used with the OpenAI JS or Python SDK by setting the base URL to https://api.telnyx.com/v2/ai/openai.
post/ai/openai/embeddings
Request body
Example request
{
"model": "thenlper/gte-large"
}Response
Successful Response