Skip to content

Commit

Permalink
Add inference.update
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jan 2, 2025
1 parent 85db5af commit c4bb8cc
Showing 1 changed file with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"inference.update": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-inference-api.html",
"description": "Update inference"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_inference/{inference_id}/_update",
"methods": ["POST"],
"parts": {
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
},
{
"path": "/_inference/{task_type}/{inference_id}/_update",
"methods": ["POST"],
"parts": {
"task_type": {
"type": "string",
"description": "The task type"
},
"inference_id": {
"type": "string",
"description": "The inference Id"
}
}
}
]
},
"body": {
"description": "The inference endpoint's task and service settings"
}
}
}

0 comments on commit c4bb8cc

Please sign in to comment.