Skip to main content
POST
English language model text encoder

Headers

Authorization
string
required

Bearer token used for authentication. Format: Authorization: Bearer ACCESS_TOKEN.

Content-Type
string

application/json

Example:

"application/json"

Body

application/json
batch
object[]

The batch of key:value pairs used as inputs in the prediction. Up to 32 inputs per request are allowed.

Maximum array length: 32
useCaseConfig
UseCaseConfigKeywordEmbedding · object
modelConfig
ModelConfigEmbedding · object

Provides fields and values specific to pre-trained embedding models.

Response

200 - application/json

OK

predictions
object[]