From 88e49e7faae465850284a4b92edaaa297953f69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 4 Jun 2025 12:34:21 +0200 Subject: [PATCH] Adds integration and task type list to PUT inference endpoint docs. --- specification/inference/put/PutRequest.ts | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/specification/inference/put/PutRequest.ts b/specification/inference/put/PutRequest.ts index 05a04d04fd..13091baa3b 100644 --- a/specification/inference/put/PutRequest.ts +++ b/specification/inference/put/PutRequest.ts @@ -28,6 +28,24 @@ import { Id } from '@_types/common' * IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Mistral, Azure OpenAI, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face. * For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models. * However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs. + * + * The following integrations are available through the inference API. You can find the available task types next to the integration name: + * * AlibabaCloud AI Search (`completion`, `rerank`, `sparse_embedding`, `text_embedding`) + * * Amazon Bedrock (`completion`, `text_embedding`) + * * Anthropic (`completion`) + * * Azure AI Studio (`completion`, `text_embedding`) + * * Azure OpenAI (`completion`, `text_embedding`) + * * Cohere (`completion`, `rerank`, `text_embedding`) + * * Elasticsearch (`rerank`, `sparse_embedding`, `text_embedding` - this service is for built-in models and models uploaded through Eland) + * * ELSER (`sparse_embedding`) + * * Google AI Studio (`completion`, `text_embedding`) + * * Google Vertex AI (`rerank`, `text_embedding`) + * * Hugging Face (`text_embedding`) + * * Mistral (`text_embedding`) + * * OpenAI (`chat_completion`, `completion`, `text_embedding`) + * * VoyageAI (`text_embedding`, `rerank`) + * * Watsonx inference integration (`text_embedding`) + * * JinaAI (`text_embedding`, `rerank`) * @rest_spec_name inference.put * @availability stack since=8.11.0 stability=stable visibility=public * @availability serverless stability=stable visibility=public @@ -47,7 +65,7 @@ export interface Request extends RequestBase { ] path_parts: { /** - * The task type + * The task type. Refer to the integration list in the API description for the available task types. */ task_type?: TaskType /**