Skip to content

Commit

Permalink
Merge branch 'main' into api-examples-pt7
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve authored Oct 8, 2024
2 parents 4476fb4 + 7af8515 commit 210b99d
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
34 changes: 34 additions & 0 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions specification/_json_spec/inference.stream_inference.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"inference.stream_inference": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/post-stream-inference-api.html",
"description": "Perform streaming inference"
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["text/event-stream"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_inference/{inference_id}/_stream",
"methods": ["POST"],
"parts": {
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
},
{
"path": "/_inference/{task_type}/{inference_id}/_stream",
"methods": ["POST"],
"parts": {
"task_type": {
"type": "string",
"description": "The task type"
},
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
}
]
},
"body": {
"description": "The inference payload"
}
}
}

0 comments on commit 210b99d

Please sign in to comment.