File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
rest-api-spec/src/main/resources/rest-api-spec/api Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "inference.put_openshift_ai" : {
3+ "documentation" : {
4+ "url" : " https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-openshift-ai" ,
5+ "description" : " Create an OpenShift AI inference endpoint"
6+ },
7+ "stability" : " stable" ,
8+ "visibility" : " public" ,
9+ "headers" : {
10+ "accept" : [" application/json" ],
11+ "content_type" : [" application/json" ]
12+ },
13+ "url" : {
14+ "paths" : [
15+ {
16+ "path" : " /_inference/{task_type}/{openshiftai_inference_id}" ,
17+ "methods" : [" PUT" ],
18+ "parts" : {
19+ "task_type" : {
20+ "type" : " enum" ,
21+ "description" : " The task type" ,
22+ "options" : [
23+ " rerank" ,
24+ " text_embedding" ,
25+ " completion" ,
26+ " chat_completion"
27+ ]
28+ },
29+ "openshiftai_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+ "required" : true
40+ },
41+ "params" : {
42+ "timeout" : {
43+ "type" : " time" ,
44+ "description" : " Specifies the amount of time to wait for the inference endpoint to be created." ,
45+ "default" : " 30s"
46+ }
47+ }
48+ }
49+ }
You can’t perform that action at this time.
0 commit comments