Skip to content

Commit d277e2e

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

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
@@ -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)