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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Input text to embed. Can be a string or array of strings.
ID of the model to use. Use the List embedding models endpoint to see available models.
"thenlper/gte-large"
The format to return the embeddings in.
float, base64 The number of dimensions the resulting output embeddings should have. Only supported in some models.
A unique identifier representing your end-user for monitoring and abuse detection.