You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation.
7973
+
It only works with the `chat_completion` task type for `openai` and `elastic` inference services.
7974
+
7975
+
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, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face.
7976
+
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.
7977
+
7978
+
NOTE: The `chat_completion` task type is only available within the _stream API and only supports streaming.
7979
+
The Chat completion inference API and the Stream inference API differ in their response structure and capabilities.
7980
+
The Chat completion inference API provides more comprehensive customization options through more fields and function calling support.
7981
+
If you use the `openai` service or the `elastic` service, use the Chat completion inference API.
@@ -8077,11 +8089,6 @@ These settings are specific to the task type you specified and override the task
8077
8089
[discrete]
8078
8090
==== put
8079
8091
Create an inference endpoint.
8080
-
When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running.
8081
-
After creating the endpoint, wait for the model deployment to complete before using it.
8082
-
To verify the deployment status, use the get trained model statistics API.
8083
-
Look for `"state": "fully_allocated"` in the response and ensure that the `"allocation_count"` matches the `"target_allocation_count"`.
8084
-
Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.
8085
8092
8086
8093
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.
8087
8094
For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models.
@@ -8107,12 +8114,6 @@ Create an AlibabaCloud AI Search inference endpoint.
8107
8114
8108
8115
Create an inference endpoint to perform an inference task with the `alibabacloud-ai-search` service.
8109
8116
8110
-
When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running.
8111
-
After creating the endpoint, wait for the model deployment to complete before using it.
8112
-
To verify the deployment status, use the get trained model statistics API.
8113
-
Look for `"state": "fully_allocated"` in the response and ensure that the `"allocation_count"` matches the `"target_allocation_count"`.
8114
-
Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.
@@ -8140,12 +8141,6 @@ Creates an inference endpoint to perform an inference task with the `amazonbedro
8140
8141
>info
8141
8142
> You need to provide the access and secret keys only once, during the inference model creation. The get inference API does not retrieve your access or secret keys. After creating the inference model, you cannot change the associated key pairs. If you want to use a different access and secret key pair, delete the inference model and recreate it with the same name and the updated keys.
8142
8143
8143
-
When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running.
8144
-
After creating the endpoint, wait for the model deployment to complete before using it.
8145
-
To verify the deployment status, use the get trained model statistics API.
8146
-
Look for `"state": "fully_allocated"` in the response and ensure that the `"allocation_count"` matches the `"target_allocation_count"`.
8147
-
Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.
@@ -8238,12 +8221,6 @@ The list of chat completion models that you can choose from in your Azure OpenAI
8238
8221
8239
8222
The list of embeddings models that you can choose from in your deployment can be found in the [Azure models documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models?tabs=global-standard%2Cstandard-chat-completions#embeddings).
8240
8223
8241
-
When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running.
8242
-
After creating the endpoint, wait for the model deployment to complete before using it.
8243
-
To verify the deployment status, use the get trained model statistics API.
8244
-
Look for `"state": "fully_allocated"` in the response and ensure that the `"allocation_count"` matches the `"target_allocation_count"`.
8245
-
Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.
0 commit comments