Skip to content

Commit f637e96

Browse files
lcawll-trotta
authored andcommitted
Add inference.stream_inference
1 parent ae265e6 commit f637e96

File tree

10 files changed

+312
-5
lines changed

10 files changed

+312
-5
lines changed

compiler/src/model/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export function hoistRequestAnnotations (
670670
'manage_enrich', 'manage_ilm', 'manage_index_templates', 'manage_inference', 'manage_ingest_pipelines', 'manage_logstash_pipelines',
671671
'manage_ml', 'manage_oidc', 'manage_own_api_key', 'manage_pipeline', 'manage_rollup', 'manage_saml', 'manage_search_application', 'manage_search_query_rules', 'manage_search_synonyms',
672672
'manage_security', 'manage_service_account', 'manage_slm', 'manage_token', 'manage_transform', 'manage_user_profile',
673-
'manage_watcher', 'monitor', 'monitor_ml', 'monitor_rollup', 'monitor_snapshot', 'monitor_text_structure',
673+
'manage_watcher', 'monitor', 'monitor_inference', 'monitor_ml', 'monitor_rollup', 'monitor_snapshot', 'monitor_text_structure',
674674
'monitor_transform', 'monitor_watcher', 'read_ccr', 'read_ilm', 'read_pipeline', 'read_security', 'read_slm', 'transport_client'
675675
]
676676
const values = parseCommaSeparated(value)

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ actions:
394394
examples:
395395
indicesLegacyPutTemplateRequestExample1:
396396
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
397+
<<<<<<< HEAD
397398
## Examples for behavioral analytics
398399
- target: "$.paths['/_application/analytics/{collection_name}/event/{event_type}']['post']"
399400
description: "Add examples for post analytics collection event operation"
@@ -418,10 +419,15 @@ actions:
418419
## Examples for ingest
419420
- target: "$.components['requestBodies']['simulate.ingest']"
420421
description: "Add example for simulate ingest request"
422+
=======
423+
- target: "$.components['requestBodies']['inference.stream_inference']"
424+
description: "Add example for inference stream request"
425+
>>>>>>> dc0cd555b (Add inference.stream_inference)
421426
update:
422427
content:
423428
application/json:
424429
examples:
430+
<<<<<<< HEAD
425431
simulateIngestRequestExample1:
426432
$ref: "../../specification/simulate/ingest/examples/request/SimulateIngestRequestExample1.yaml"
427433
simulateIngestRequestExample2:
@@ -567,3 +573,7 @@ actions:
567573
updateWatcherSettingsRequestExample1:
568574
$ref: "../../specification/watcher/get_settings/examples/200_response/WatcherGetSettingsResponseExample1.yaml"
569575

576+
=======
577+
streamInferenceRequestExample1:
578+
$ref: "../../specification/inference/stream_inference/StreamInferenceRequestExample1.yaml"
579+
>>>>>>> dc0cd555b (Add inference.stream_inference)

output/openapi/elasticsearch-openapi.json

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 91 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,29 @@
259259
],
260260
"response": []
261261
},
262+
<<<<<<< HEAD
262263
"inference.stream_inference": {
263264
"request": [
264265
"Missing request & response"
266+
=======
267+
"ingest.delete_geoip_database": {
268+
"request": [
269+
"Request: query parameter 'master_timeout' does not exist in the json spec",
270+
"Request: query parameter 'timeout' does not exist in the json spec"
271+
],
272+
"response": []
273+
},
274+
"ingest.delete_ip_location_database": {
275+
"request": [
276+
"Request: query parameter 'master_timeout' does not exist in the json spec",
277+
"Request: query parameter 'timeout' does not exist in the json spec"
278+
],
279+
"response": []
280+
},
281+
"ingest.get_geoip_database": {
282+
"request": [
283+
"Request: query parameter 'master_timeout' does not exist in the json spec"
284+
>>>>>>> dc0cd555b (Add inference.stream_inference)
265285
],
266286
"response": []
267287
},

output/typescript/types.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)