diff --git a/output/openapi/elasticsearch-openapi-docs.redirects.csv b/output/openapi/elasticsearch-openapi-docs.redirects.csv new file mode 100644 index 0000000000..a053b1593d --- /dev/null +++ b/output/openapi/elasticsearch-openapi-docs.redirects.csv @@ -0,0 +1,149 @@ +async-search-submit-1,async-search-submit +bulk-1,bulk +cat-aliases-1,cat-aliases +cat-allocation-1,cat-allocation +cat-component-templates-1,cat-component-templates +cat-count-1,cat-count +cat-fielddata-1,cat-fielddata +cat-indices-1,cat-indices +cat-ml-data-frame-analytics-1,cat-ml-data-frame-analytics +cat-ml-datafeeds-1,cat-ml-datafeeds +cat-ml-jobs-1,cat-ml-jobs +cat-ml-trained-models-1,cat-ml-trained-models +cat-recovery-1,cat-recovery +cat-segments-1,cat-segments +cat-shards-1,cat-shards +cat-snapshots-1,cat-snapshots +cat-templates-1,cat-templates +cat-thread-pool-1,cat-thread-pool +cat-transforms-1,cat-transforms +ccr-get-auto-follow-pattern-1,ccr-get-auto-follow-pattern +clear-scroll-1,clear-scroll +cluster-get-component-template-1,cluster-get-component-template +cluster-health-1,cluster-health +cluster-state-1,cluster-state +cluster-state-2,cluster-state +cluster-stats-1,cluster-stats +connector-put-1,connector-put +count-1,count +enrich-get-policy-1,enrich-get-policy +field-caps-1,field-caps +fleet-msearch-1,fleet-msearch +health-report-1,health-report +ilm-get-lifecycle-1,ilm-get-lifecycle +index-1,index +indices-analyze-1,indices-analyze +indices-clear-cache-1,indices-clear-cache +indices-data-streams-stats-1,indices-data-streams-stats +indices-delete-alias-1,indices-delete-alias +indices-exists-alias-1,indices-exists-alias +indices-flush-1,indices-flush +indices-forcemerge-1,indices-forcemerge +indices-get-alias-1,indices-get-alias +indices-get-alias-2,indices-get-alias +indices-get-alias-3,indices-get-alias +indices-get-data-stream-1,indices-get-data-stream +indices-get-field-mapping-1,indices-get-field-mapping +indices-get-index-template-1,indices-get-index-template +indices-get-mapping-1,indices-get-mapping +indices-get-settings-1,indices-get-settings +indices-get-settings-2,indices-get-settings +indices-get-settings-3,indices-get-settings +indices-get-template-1,indices-get-template +indices-put-alias-1,indices-put-alias +indices-put-settings-1,indices-put-settings +indices-recovery-1,indices-recovery +indices-refresh-1,indices-refresh +indices-resolve-cluster-1,indices-resolve-cluster +indices-rollover-1,indices-rollover +indices-segments-1,indices-segments +indices-shard-stores-1,indices-shard-stores +indices-simulate-template-1,indices-simulate-template +indices-stats-1,indices-stats +indices-stats-2,indices-stats +indices-stats-3,indices-stats +indices-validate-query-1,indices-validate-query +inference-delete-1,inference-delete +inference-get-1,inference-get +inference-get-2,inference-get +inference-inference-1,inference-inference +inference-put-1,inference-put +inference-update-1,inference-update +ingest-get-geoip-database-1,ingest-get-geoip-database +ingest-get-ip-location-database-1,ingest-get-ip-location-database +ingest-get-pipeline-1,ingest-get-pipeline +ingest-simulate-1,ingest-simulate +logstash-get-pipeline-1,logstash-get-pipeline +mget-1,mget +migration-deprecations-1,migration-deprecations +ml-delete-expired-data-1,ml-delete-expired-data +ml-delete-forecast-1,ml-delete-forecast +ml-explain-data-frame-analytics-1,ml-explain-data-frame-analytics +ml-get-buckets-1,ml-get-buckets +ml-get-calendars-1,ml-get-calendars +ml-get-categories-1,ml-get-categories +ml-get-data-frame-analytics-1,ml-get-data-frame-analytics +ml-get-data-frame-analytics-stats-1,ml-get-data-frame-analytics-stats +ml-get-datafeed-stats-1,ml-get-datafeed-stats +ml-get-datafeeds-1,ml-get-datafeeds +ml-get-filters-1,ml-get-filters +ml-get-job-stats-1,ml-get-job-stats +ml-get-jobs-1,ml-get-jobs +ml-get-memory-stats-1,ml-get-memory-stats +ml-get-model-snapshots-1,ml-get-model-snapshots +ml-get-trained-models-1,ml-get-trained-models +ml-get-trained-models-stats-1,ml-get-trained-models-stats +ml-preview-data-frame-analytics-1,ml-preview-data-frame-analytics +ml-preview-datafeed-1,ml-preview-datafeed +msearch-1,msearch +msearch-template-1,msearch-template +mtermvectors-1,mtermvectors +nodes-hot-threads-1,nodes-hot-threads +nodes-info-1,nodes-info +nodes-info-2,nodes-info +nodes-info-3,nodes-info +nodes-reload-secure-settings-1,nodes-reload-secure-settings +nodes-stats-1,nodes-stats +nodes-stats-2,nodes-stats +nodes-stats-3,nodes-stats +nodes-stats-4,nodes-stats +nodes-stats-5,nodes-stats +nodes-usage-1,nodes-usage +nodes-usage-2,nodes-usage +nodes-usage-3,nodes-usage +put-script-1,put-script +rank-eval-1,rank-eval +render-search-template-1,render-search-template +rollup-get-jobs-1,rollup-get-jobs +rollup-get-rollup-caps-1,rollup-get-rollup-caps +scroll-1,scroll +search-1,search +search-application-get-behavioral-analytics-1,search-application-get-behavioral-analytics +search-shards-1,search-shards +search-template-1,search-template +searchable-snapshots-cache-stats-1,searchable-snapshots-cache-stats +searchable-snapshots-clear-cache-1,searchable-snapshots-clear-cache +searchable-snapshots-stats-1,searchable-snapshots-stats +security-change-password-1,security-change-password +security-create-service-token-1,security-create-service-token +security-get-privileges-1,security-get-privileges +security-get-privileges-2,security-get-privileges +security-get-role-1,security-get-role +security-get-role-mapping-1,security-get-role-mapping +security-get-service-accounts-1,security-get-service-accounts +security-get-service-accounts-2,security-get-service-accounts +security-get-user-1,security-get-user +security-has-privileges-1,security-has-privileges +shutdown-get-node-1,shutdown-get-node +simulate-ingest-1,simulate-ingest +slm-get-lifecycle-1,slm-get-lifecycle +snapshot-get-repository-1,snapshot-get-repository +snapshot-status-1,snapshot-status +snapshot-status-2,snapshot-status +tasks-cancel-1,tasks-cancel +termvectors-1,termvectors +transform-get-transform-1,transform-get-transform +transform-preview-transform-1,transform-preview-transform +watcher-ack-watch-1,watcher-ack-watch +watcher-execute-watch-1,watcher-execute-watch +watcher-stats-1,watcher-stats diff --git a/output/openapi/elasticsearch-serverless-openapi-docs.redirects.csv b/output/openapi/elasticsearch-serverless-openapi-docs.redirects.csv new file mode 100644 index 0000000000..30434f4649 --- /dev/null +++ b/output/openapi/elasticsearch-serverless-openapi-docs.redirects.csv @@ -0,0 +1,72 @@ +async-search-submit-1,async-search-submit +bulk-1,bulk +cat-aliases-1,cat-aliases +cat-component-templates-1,cat-component-templates +cat-count-1,cat-count +cat-indices-1,cat-indices +cat-ml-data-frame-analytics-1,cat-ml-data-frame-analytics +cat-ml-datafeeds-1,cat-ml-datafeeds +cat-ml-jobs-1,cat-ml-jobs +cat-ml-trained-models-1,cat-ml-trained-models +cat-transforms-1,cat-transforms +clear-scroll-1,clear-scroll +cluster-get-component-template-1,cluster-get-component-template +connector-put-1,connector-put +count-1,count +enrich-get-policy-1,enrich-get-policy +field-caps-1,field-caps +index-1,index +indices-analyze-1,indices-analyze +indices-delete-alias-1,indices-delete-alias +indices-exists-alias-1,indices-exists-alias +indices-get-alias-1,indices-get-alias +indices-get-alias-2,indices-get-alias +indices-get-alias-3,indices-get-alias +indices-get-data-stream-1,indices-get-data-stream +indices-get-index-template-1,indices-get-index-template +indices-get-mapping-1,indices-get-mapping +indices-get-settings-1,indices-get-settings +indices-get-settings-2,indices-get-settings +indices-get-settings-3,indices-get-settings +indices-put-alias-1,indices-put-alias +indices-put-settings-1,indices-put-settings +indices-refresh-1,indices-refresh +indices-rollover-1,indices-rollover +indices-simulate-template-1,indices-simulate-template +indices-validate-query-1,indices-validate-query +inference-delete-1,inference-delete +inference-get-1,inference-get +inference-get-2,inference-get +inference-inference-1,inference-inference +inference-put-1,inference-put +ingest-get-pipeline-1,ingest-get-pipeline +ingest-simulate-1,ingest-simulate +logstash-get-pipeline-1,logstash-get-pipeline +mget-1,mget +ml-get-calendars-1,ml-get-calendars +ml-get-data-frame-analytics-1,ml-get-data-frame-analytics +ml-get-data-frame-analytics-stats-1,ml-get-data-frame-analytics-stats +ml-get-datafeed-stats-1,ml-get-datafeed-stats +ml-get-datafeeds-1,ml-get-datafeeds +ml-get-filters-1,ml-get-filters +ml-get-job-stats-1,ml-get-job-stats +ml-get-jobs-1,ml-get-jobs +ml-get-trained-models-1,ml-get-trained-models +ml-get-trained-models-stats-1,ml-get-trained-models-stats +ml-preview-data-frame-analytics-1,ml-preview-data-frame-analytics +ml-preview-datafeed-1,ml-preview-datafeed +msearch-1,msearch +msearch-template-1,msearch-template +mtermvectors-1,mtermvectors +put-script-1,put-script +rank-eval-1,rank-eval +render-search-template-1,render-search-template +scroll-1,scroll +search-1,search +search-application-get-behavioral-analytics-1,search-application-get-behavioral-analytics +search-template-1,search-template +security-get-role-1,security-get-role +security-has-privileges-1,security-has-privileges +termvectors-1,termvectors +transform-get-transform-1,transform-get-transform +transform-preview-transform-1,transform-preview-transform diff --git a/output/schema/schema.json b/output/schema/schema.json index a285952546..23a797bbbc 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -163343,7 +163343,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L781-L815" + "specLocation": "inference/_types/CommonTypes.ts#L794-L828" }, { "kind": "enum", @@ -163356,7 +163356,7 @@ "name": "ElasticsearchServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L831-L833" + "specLocation": "inference/_types/CommonTypes.ts#L844-L846" }, { "kind": "interface", @@ -163379,7 +163379,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L817-L823" + "specLocation": "inference/_types/CommonTypes.ts#L830-L836" }, { "kind": "enum", @@ -163398,7 +163398,7 @@ "name": "ElasticsearchTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L825-L829" + "specLocation": "inference/_types/CommonTypes.ts#L838-L842" }, { "kind": "interface", @@ -163444,7 +163444,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L835-L861" + "specLocation": "inference/_types/CommonTypes.ts#L848-L874" }, { "kind": "enum", @@ -163457,7 +163457,7 @@ "name": "ElserServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L867-L869" + "specLocation": "inference/_types/CommonTypes.ts#L880-L882" }, { "kind": "enum", @@ -163470,7 +163470,7 @@ "name": "ElserTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L863-L865" + "specLocation": "inference/_types/CommonTypes.ts#L876-L878" }, { "kind": "enum", @@ -163483,7 +163483,7 @@ "name": "GoogleAiServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L894-L896" + "specLocation": "inference/_types/CommonTypes.ts#L907-L909" }, { "kind": "interface", @@ -163531,7 +163531,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L871-L887" + "specLocation": "inference/_types/CommonTypes.ts#L884-L900" }, { "kind": "enum", @@ -163547,7 +163547,7 @@ "name": "GoogleAiStudioTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L889-L892" + "specLocation": "inference/_types/CommonTypes.ts#L902-L905" }, { "kind": "interface", @@ -163621,7 +163621,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L898-L924" + "specLocation": "inference/_types/CommonTypes.ts#L911-L937" }, { "kind": "enum", @@ -163634,7 +163634,7 @@ "name": "GoogleVertexAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L944-L946" + "specLocation": "inference/_types/CommonTypes.ts#L957-L959" }, { "kind": "interface", @@ -163668,7 +163668,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L926-L935" + "specLocation": "inference/_types/CommonTypes.ts#L939-L948" }, { "kind": "enum", @@ -163690,7 +163690,7 @@ "name": "GoogleVertexAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L937-L942" + "specLocation": "inference/_types/CommonTypes.ts#L950-L955" }, { "kind": "interface", @@ -163752,7 +163752,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L948-L980" + "specLocation": "inference/_types/CommonTypes.ts#L961-L993" }, { "kind": "enum", @@ -163765,7 +163765,7 @@ "name": "HuggingFaceServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1001-L1003" + "specLocation": "inference/_types/CommonTypes.ts#L1014-L1016" }, { "kind": "interface", @@ -163799,7 +163799,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L982-L992" + "specLocation": "inference/_types/CommonTypes.ts#L995-L1005" }, { "kind": "enum", @@ -163821,7 +163821,7 @@ "name": "HuggingFaceTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L994-L999" + "specLocation": "inference/_types/CommonTypes.ts#L1007-L1012" }, { "kind": "interface", @@ -164784,7 +164784,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1005-L1034" + "specLocation": "inference/_types/CommonTypes.ts#L1018-L1047" }, { "kind": "enum", @@ -164797,7 +164797,7 @@ "name": "JinaAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1064-L1066" + "specLocation": "inference/_types/CommonTypes.ts#L1077-L1079" }, { "kind": "enum", @@ -164816,7 +164816,7 @@ "name": "JinaAISimilarityType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1068-L1072" + "specLocation": "inference/_types/CommonTypes.ts#L1081-L1085" }, { "kind": "interface", @@ -164862,7 +164862,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1036-L1057" + "specLocation": "inference/_types/CommonTypes.ts#L1049-L1070" }, { "kind": "enum", @@ -164878,7 +164878,7 @@ "name": "JinaAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1059-L1062" + "specLocation": "inference/_types/CommonTypes.ts#L1072-L1075" }, { "kind": "enum", @@ -164900,7 +164900,7 @@ "name": "JinaAITextEmbeddingTask", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1074-L1079" + "specLocation": "inference/_types/CommonTypes.ts#L1087-L1092" }, { "kind": "interface", @@ -165058,7 +165058,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1081-L1108" + "specLocation": "inference/_types/CommonTypes.ts#L1094-L1121" }, { "kind": "enum", @@ -165071,7 +165071,7 @@ "name": "MistralServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1116-L1118" + "specLocation": "inference/_types/CommonTypes.ts#L1129-L1131" }, { "kind": "enum", @@ -165090,7 +165090,7 @@ "name": "MistralTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1110-L1114" + "specLocation": "inference/_types/CommonTypes.ts#L1123-L1127" }, { "kind": "interface", @@ -165177,7 +165177,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1120-L1162" + "specLocation": "inference/_types/CommonTypes.ts#L1133-L1175" }, { "kind": "enum", @@ -165190,7 +165190,7 @@ "name": "OpenAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1178-L1180" + "specLocation": "inference/_types/CommonTypes.ts#L1191-L1193" }, { "kind": "interface", @@ -165212,7 +165212,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1164-L1170" + "specLocation": "inference/_types/CommonTypes.ts#L1177-L1183" }, { "kind": "enum", @@ -165231,7 +165231,7 @@ "name": "OpenAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1172-L1176" + "specLocation": "inference/_types/CommonTypes.ts#L1185-L1189" }, { "kind": "interface", @@ -166081,7 +166081,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1182-L1213" + "specLocation": "inference/_types/CommonTypes.ts#L1195-L1226" }, { "kind": "enum", @@ -166094,7 +166094,7 @@ "name": "VoyageAIServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1246-L1248" + "specLocation": "inference/_types/CommonTypes.ts#L1259-L1261" }, { "kind": "interface", @@ -166154,7 +166154,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1215-L1239" + "specLocation": "inference/_types/CommonTypes.ts#L1228-L1252" }, { "kind": "enum", @@ -166170,7 +166170,7 @@ "name": "VoyageAITaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1241-L1244" + "specLocation": "inference/_types/CommonTypes.ts#L1254-L1257" }, { "kind": "interface", @@ -166258,7 +166258,7 @@ } } ], - "specLocation": "inference/_types/CommonTypes.ts#L1250-L1288" + "specLocation": "inference/_types/CommonTypes.ts#L1263-L1301" }, { "kind": "enum", @@ -166271,7 +166271,7 @@ "name": "WatsonxServiceType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1296-L1298" + "specLocation": "inference/_types/CommonTypes.ts#L1309-L1311" }, { "kind": "enum", @@ -166290,7 +166290,7 @@ "name": "WatsonxTaskType", "namespace": "inference._types" }, - "specLocation": "inference/_types/CommonTypes.ts#L1290-L1294" + "specLocation": "inference/_types/CommonTypes.ts#L1303-L1307" }, { "kind": "request", diff --git a/specification/inference/_types/CommonTypes.ts b/specification/inference/_types/CommonTypes.ts index 454be45c19..d61ba5dc35 100644 --- a/specification/inference/_types/CommonTypes.ts +++ b/specification/inference/_types/CommonTypes.ts @@ -771,13 +771,26 @@ export class EisServiceSettings { } export enum EisTaskType { - chat_completion + chat_completion, + rerank } export enum EisServiceType { elastic } +export class EisTaskSettings { + /** + * For a `rerank` task, return doc text within the results. + */ + return_documents?: boolean + + /** + * For a `rerank` task, the number of the top N documents that should be returned. + */ + top_n?: integer +} + export class ElasticsearchServiceSettings { /** * Adaptive allocations configuration details.