Generate text embeddings

post

/vecdb/embed

Generate vector embeddings for one or more input texts using an ONNX model hosted in the database.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : VectorDebugFlags
Type: object
Debug flags to be used to trace vector modules
Show Source
Nested Schema : inputs
Type: array
Minimum Number of Items: 1
Array of input items to embed.
Show Source
Nested Schema : VectorEmbedInputItem
Type: object
Show Source
Security
Back to Top

Response

Supported Media Types

200 Response

Embeddings generated successfully.
Body ()
Root Schema : VectorEmbedResponse
Type: object
Show Source
Nested Schema : data
Type: array
List of generated embeddings.
Show Source
Nested Schema : VectorEmbedItem
Type: object
Show Source
Nested Schema : embedding
Type: array
Embedding vector for the input text.
Show Source

400 Response

The request body included invalid parameters.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source
Back to Top