Perform sparse embedding inference on the service

Auth

Path parameters

inference_id string required

The inference Id

Query parameters

timeout string · default: 30s

Specifies the amount of time to wait for the inference request to complete.

Request body

input union string | string[] required

Inference input. Either a string or an array of strings.

task_settings object

Optional task settings

Response

application/json
sparse_embedding object[] required
is_truncated boolean required

Indicates if the text input was truncated in the request sent to the service

embedding object required