File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
rest-api-spec/src/main/resources/rest-api-spec/api Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments