v1
latestOpenAPI 3.1.0Apache-2.02026-07-1783444.0 KBembeddings
Create embeddings
This handler simply forwards the request to the embeddings service and returns the response.
Arguments
- state - Application state containing service URLs
- payload - The embedding request body
Returns
Returns the JSON response from the embeddings service
Errors
Returns a AtomaServiceError::InternalError if:
- The embeddings service request fails
- Response parsing fails
post/v1/embeddings
Request body
{"stackTrail":"paths:/v1/embeddings:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
Embeddings generated successfully
{"stackTrail":"paths:/v1/embeddings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}