Create an inference endpoint Added in 8.11.0
Path parameters
-
The task type
Values are
sparse_embedding
,text_embedding
,rerank
, orcompletion
. -
The inference Id
Body Required
-
The service type
-
Additional properties are allowed.
-
task_settings object
Additional properties are allowed.
PUT /_inference/{task_type}/{inference_id}
curl \
-X PUT http://api.example.com/_inference/{task_type}/{inference_id} \
-H "Content-Type: application/json" \
-d '{"service":"string","service_settings":{},"task_settings":{}}'