embeddings

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

Request body

unknown required

Response

Embeddings generated successfully

unknown required

Changes

No recorded changes to this operation across all 10 revisions of this API.