aRole

Get Text Embeddings

Generate embeddings for a text string using OpenAI's embedding models.

Args: req: Request body containing text and optional model name user: The authenticated user

Returns: JSON response with the embedding vector

post/api/v1/aRole/embeddings

Request body

textstring required
modelstring

Response

Successful Response

{"stackTrail":"paths:/api/v1/aRole/embeddings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.