Skip to content

Commit 08d34e6

Browse files
lcawlgithub-actions[bot]
authored andcommitted
Fix overlay for inference stream (#3930)
(cherry picked from commit 8eb28d3)
1 parent 2b40d89 commit 08d34e6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -627,14 +627,15 @@ actions:
627627
indicesLegacyPutTemplateRequestExample1:
628628
$ref: "../../specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml"
629629
## Examples for inference
630-
- target: "$.components['requestBodies']['inference.stream_inference']"
630+
- target: "$.paths['/_inference/chat_completion/{inference_id}/_stream']['post']"
631631
description: "Add example for inference stream request"
632632
update:
633-
content:
634-
application/json:
635-
examples:
636-
streamInferenceRequestExample1:
637-
$ref: "../../specification/inference/stream_inference/examples/request/StreamInferenceRequestExample1.yaml"
633+
requestBody:
634+
content:
635+
application/json:
636+
examples:
637+
streamInferenceRequestExample1:
638+
$ref: "../../specification/inference/stream_completion/examples/request/StreamInferenceRequestExample1.yaml"
638639
## Examples for ingest
639640
- target: "$.components['requestBodies']['simulate.ingest']"
640641
description: "Add example for simulate ingest request"

0 commit comments

Comments
 (0)