GET
/_inference
Console
GET _inference/sparse_embedding/my-elser-model
resp = client.inference.get(
task_type="sparse_embedding",
inference_id="my-elser-model",
)
const response = await client.inference.get({
task_type: "sparse_embedding",
inference_id: "my-elser-model",
});
response = client.inference.get(
task_type: "sparse_embedding",
inference_id: "my-elser-model"
)
$resp = $client->inference()->get([
"task_type" => "sparse_embedding",
"inference_id" => "my-elser-model",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_inference/sparse_embedding/my-elser-model"