diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 22c6a6bceb..6efd1d8b5a 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -16127,7 +16127,7 @@ "indices" ], "summary": "Check index templates", - "description": "Check whether index templates exist.", + "description": "Check whether index templates exist.\n\n## Required authorization\n\n* Cluster privileges: `manage_index_templates`\n", "operationId": "indices-exists-index-template", "parameters": [ { @@ -125339,6 +125339,10 @@ } ] }, + "input_type": { + "description": "Specifies the input data type for the text embedding model. The `input_type` parameter only applies to Inference Endpoints with the `text_embedding` task type. Possible values include:\n* `SEARCH`\n* `INGEST`\n* `CLASSIFICATION`\n* `CLUSTERING`\nNot all services support all values. Unsupported values will trigger a validation exception.\nAccepted values depend on the configured inference service, refer to the relevant service-specific documentation for more info.\n\n> info\n> The `input_type` parameter specified on the root level of the request body will take precedence over the `input_type` parameter specified in `task_settings`.", + "type": "string" + }, "task_settings": { "$ref": "#/components/schemas/inference._types.TaskSettings" } diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 28fdd04318..8315895679 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -8610,7 +8610,7 @@ "indices" ], "summary": "Check index templates", - "description": "Check whether index templates exist.", + "description": "Check whether index templates exist.\n\n## Required authorization\n\n* Cluster privileges: `manage_index_templates`\n", "operationId": "indices-exists-index-template", "parameters": [ { @@ -74986,6 +74986,10 @@ } ] }, + "input_type": { + "description": "Specifies the input data type for the text embedding model. The `input_type` parameter only applies to Inference Endpoints with the `text_embedding` task type. Possible values include:\n* `SEARCH`\n* `INGEST`\n* `CLASSIFICATION`\n* `CLUSTERING`\nNot all services support all values. Unsupported values will trigger a validation exception.\nAccepted values depend on the configured inference service, refer to the relevant service-specific documentation for more info.\n\n> info\n> The `input_type` parameter specified on the root level of the request body will take precedence over the `input_type` parameter specified in `task_settings`.", + "type": "string" + }, "task_settings": { "$ref": "#/components/schemas/inference._types.TaskSettings" } diff --git a/output/schema/schema.json b/output/schema/schema.json index 2f1f55a188..8730c5e1e6 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -7460,6 +7460,11 @@ "docId": "index-templates-exist", "docUrl": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-exists-index-template", "name": "indices.exists_index_template", + "privileges": { + "cluster": [ + "manage_index_templates" + ] + }, "request": { "name": "Request", "namespace": "indices.exists_index_template" @@ -151601,7 +151606,7 @@ } } ], - "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L61" + "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L62" }, { "kind": "response", @@ -170250,6 +170255,18 @@ ] } }, + { + "description": "Specifies the input data type for the text embedding model. The `input_type` parameter only applies to Inference Endpoints with the `text_embedding` task type. Possible values include:\n* `SEARCH`\n* `INGEST`\n* `CLASSIFICATION`\n* `CLUSTERING`\nNot all services support all values. Unsupported values will trigger a validation exception.\nAccepted values depend on the configured inference service, refer to the relevant service-specific documentation for more info.\n\n> info\n> The `input_type` parameter specified on the root level of the request body will take precedence over the `input_type` parameter specified in `task_settings`.", + "name": "input_type", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "description": "Task settings for the individual inference request.\nThese settings are specific to the task type you specified and override the task settings specified when initializing the service.", "name": "task_settings", @@ -170316,7 +170333,7 @@ } } ], - "specLocation": "inference/inference/InferenceRequest.ts#L26-L91" + "specLocation": "inference/inference/InferenceRequest.ts#L26-L104" }, { "kind": "response", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 2f76642000..767013d9c3 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -14148,6 +14148,7 @@ export interface InferenceInferenceRequest extends RequestBase { body?: { query?: string input: string | string[] + input_type?: string task_settings?: InferenceTaskSettings } }