Skip to content

Commit 202b32c

Browse files
lcawlgithub-actions[bot]
authored andcommitted
Fix overlay for inference stream (#3930)
(cherry picked from commit 8eb28d3)
1 parent 860f30e commit 202b32c

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
@@ -618,14 +618,15 @@ actions:
618618
indicesLegacyPutTemplateRequestExample1:
619619
$ref: "../../specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml"
620620
## Examples for inference
621-
- target: "$.components['requestBodies']['inference.stream_inference']"
621+
- target: "$.paths['/_inference/chat_completion/{inference_id}/_stream']['post']"
622622
description: "Add example for inference stream request"
623623
update:
624-
content:
625-
application/json:
626-
examples:
627-
streamInferenceRequestExample1:
628-
$ref: "../../specification/inference/stream_inference/examples/request/StreamInferenceRequestExample1.yaml"
624+
requestBody:
625+
content:
626+
application/json:
627+
examples:
628+
streamInferenceRequestExample1:
629+
$ref: "../../specification/inference/stream_completion/examples/request/StreamInferenceRequestExample1.yaml"
629630
## Examples for ingest
630631
- target: "$.components['requestBodies']['simulate.ingest']"
631632
description: "Add example for simulate ingest request"

0 commit comments

Comments
 (0)