Embeddings
Create embeddings
This endpoint follows the OpenAI API format for generating vector embeddings from input text. The handler receives pre-processed metadata from middleware and forwards the request to the selected node.
Returns
Ok(Response)
- The embeddings response from the processing nodeErr(AtomaProxyError)
- An error status code if any step fails
Errors
INTERNAL_SERVER_ERROR
- Processing or node communication failures
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Request object for creating embeddings
Response
200
application/json
Embeddings generated successfully
Response object from creating embeddings