-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathinference.put_elser.json
39 lines (39 loc) · 1.11 KB
/
inference.put_elser.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"inference.put_elser": {
"deprecated": {
"version": "8.16.0",
"description": "The elser service is deprecated. Use the Elasticsearch inference integration instead, with model_id included in the service_settings."
},
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elser.html",
"description": "Configure an ELSER inference endpoint"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_inference/{task_type}/{elser_inference_id}",
"methods": ["PUT"],
"parts": {
"task_type": {
"type": "string",
"description": "The task type"
},
"elser_inference_id": {
"type": "string",
"description": "The inference Id"
}
}
}
]
},
"body": {
"description": "The inference endpoint's task and service settings"
}
}
}