Create embeddings from input
Provides the embedding for the input text.
Returns a single vector of floating point numbers for your input, known as a text embedding. Among other uses, a text embedding enables you to calculate the similarity between two documents or two words.
Authentication
X-BabelStreetAPI-Keystring
API Key authentication via header
OR
X-RosetteAPI-Keystring
API Key authentication via header
Request
This endpoint expects an object.
language
3 letter code of language.
options
Response
OK
documentEmbedding
document embeddings
tokenEmbeddings
per-token embeddings
tokens
extracted tokens