|
@@ -0,0 +1,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"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|