Skip to content

Commit b47a2a7

Browse files
[Backport 9.0] Fix overlay for inference stream (#3933)
1 parent 860f30e commit b47a2a7

File tree

5 files changed

+1461
-1169
lines changed

5 files changed

+1461
-1169
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

+7-6
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)