Skip to content

Commit 005e0a3

Browse files
authored
Code style fix (#4462)
(cherry picked from commit 081147b)
1 parent 99728b2 commit 005e0a3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

specification/inference/chat_completion_unified/UnifiedRequest.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ import { Id } from '@_types/common'
2323
import { Duration } from '@_types/Time'
2424
/**
2525
* Perform chat completion inference
26-
*
27-
* The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation.
28-
* It only works with the `chat_completion` task type for `openai`, `elastic` and `googlevertexai` inference services.
29-
30-
* 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.
31-
* 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.
32-
*
26+
*
27+
* The chat completion inference API enables real-time responses for chat completion tasks by delivering answers incrementally, reducing response times during computation.
28+
* It only works with the `chat_completion` task type for `openai` and `elastic` inference services.
29+
*
3330
* NOTE: The `chat_completion` task type is only available within the _stream API and only supports streaming.
3431
* The Chat completion inference API and the Stream inference API differ in their response structure and capabilities.
3532
* The Chat completion inference API provides more comprehensive customization options through more fields and function calling support.

0 commit comments

Comments
 (0)