Embeddings

Generate vector data points from text and images.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
modelstringRequired

The model to use for generating vectors.

inputstring or list of strings or integers or lists of integers or objectsRequired
truncatebooleanOptional

Boolean setting whether to truncate inputs. Not supported by bridgetower.

truncation_directionstringOptional

Which direction to truncate, “Left” or “Right”. Not supported by bridgetower.

Response

Successful response.

idstringOptional

Unique ID for the embeddings.

objectstringOptional

Type of object (list).

createdintegerOptional

Timestamp of when the embeddings was created.

modelstringOptional

The embeddings model used.

datalist of objectsOptional

The set of vectorized data.

Errors