Skip to content

Commit 2a47de4

Browse files
authored
[ML] Add contextual ai endpoint API spec (#135760)
1 parent d0d4339 commit 2a47de4

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"inference.put_contextualai": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-contextualai",
5+
"description": "Create an Contextual AI inference endpoint"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": [
11+
"application/json"
12+
],
13+
"content_type": [
14+
"application/json"
15+
]
16+
},
17+
"url": {
18+
"paths": [
19+
{
20+
"path": "/_inference/{task_type}/{contextualai_inference_id}",
21+
"methods": [
22+
"PUT"
23+
],
24+
"parts": {
25+
"task_type": {
26+
"type": "string",
27+
"description": "The task type"
28+
},
29+
"contextualai_inference_id": {
30+
"type": "string",
31+
"description": "The inference Id"
32+
}
33+
}
34+
}
35+
]
36+
},
37+
"body": {
38+
"description": "The inference endpoint's task and service settings"
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)