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
Copy file name to clipboardExpand all lines: docs/reference/inference/stream-inference.asciidoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ However, if you do not plan to use the {infer} APIs to use these models or if yo
40
40
The stream {infer} API enables real-time responses for completion tasks by delivering answers incrementally, reducing response times during computation.
41
41
It only works with the `completion` and `chat_completion` task types.
42
42
43
+
The Chat completion {infer} API and the Stream {infer} API differ in their response structure. If you use the `openai` service or the `elastic` service, use the Chat completion {infer} API.
0 commit comments