Skip to main content
POST
sentence-similarity

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for sentence-similarity models

text
string
required

The input text

Example:

"search_document: Turn this text into a vector"

Response

Successful sentence-similarity response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

Successful response with the vector for the text

Example: