Skip to content

Commit 944319b

Browse files
Fix overlay for inference stream (#3930) (#3932)
(cherry picked from commit 8eb28d3) Co-authored-by: Lisa Cawley <[email protected]>
1 parent e34ebc2 commit 944319b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -616,14 +616,15 @@ actions:
616616
indicesLegacyPutTemplateRequestExample1:
617617
$ref: "../../specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml"
618618
## Examples for inference
619-
- target: "$.components['requestBodies']['inference.stream_inference']"
619+
- target: "$.paths['/_inference/chat_completion/{inference_id}/_stream']['post']"
620620
description: "Add example for inference stream request"
621621
update:
622-
content:
623-
application/json:
624-
examples:
625-
streamInferenceRequestExample1:
626-
$ref: "../../specification/inference/stream_inference/examples/request/StreamInferenceRequestExample1.yaml"
622+
requestBody:
623+
content:
624+
application/json:
625+
examples:
626+
streamInferenceRequestExample1:
627+
$ref: "../../specification/inference/stream_completion/examples/request/StreamInferenceRequestExample1.yaml"
627628
## Examples for ingest
628629
- target: "$.components['requestBodies']['simulate.ingest']"
629630
description: "Add example for simulate ingest request"

0 commit comments

Comments
 (0)