@opensearch-project/opensearch 3.5.1 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +366 -0
- package/api/OpenSearchApi.js +202 -135
- package/api/_core/bulk.d.ts +3 -8
- package/api/_core/bulk.js +3 -3
- package/api/_core/bulkStream.d.ts +2 -7
- package/api/_core/bulkStream.js +2 -2
- package/api/_core/clearScroll.js +3 -3
- package/api/_core/count.js +3 -3
- package/api/_core/create.js +4 -4
- package/api/_core/createPit.d.ts +7 -4
- package/api/_core/createPit.js +8 -4
- package/api/_core/delete.js +4 -4
- package/api/_core/deleteAllPits.js +1 -1
- package/api/_core/deleteByQuery.js +3 -3
- package/api/_core/deleteByQueryRethrottle.js +1 -1
- package/api/_core/deletePit.js +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.js +4 -4
- package/api/_core/existsSource.js +4 -4
- package/api/_core/explain.d.ts +4 -2
- package/api/_core/explain.js +3 -3
- package/api/_core/fieldCaps.js +4 -4
- package/api/_core/get.d.ts +3 -1
- package/api/_core/get.js +5 -5
- package/api/_core/getAllPits.js +1 -1
- package/api/_core/getScript.js +1 -1
- package/api/_core/getScriptContext.js +1 -1
- package/api/_core/getScriptLanguages.js +1 -1
- package/api/_core/getSource.d.ts +1 -1
- package/api/_core/getSource.js +5 -5
- package/api/_core/index.js +4 -4
- package/api/_core/info.js +1 -1
- package/api/_core/mget.js +4 -4
- package/api/_core/msearch.d.ts +1 -0
- package/api/_core/msearch.js +3 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.js +9 -9
- package/api/_core/ping.js +1 -1
- package/api/_core/putScript.js +1 -1
- package/api/_core/rankEval.js +2 -2
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.js +1 -1
- package/api/_core/scriptsPainlessExecute.d.ts +1 -1
- package/api/_core/scriptsPainlessExecute.js +1 -1
- package/api/_core/scroll.d.ts +1 -1
- package/api/_core/scroll.js +1 -1
- package/api/_core/search.d.ts +7 -3
- package/api/_core/search.js +4 -3
- package/api/_core/searchShards.d.ts +5 -0
- package/api/_core/searchShards.js +3 -2
- package/api/_core/searchTemplate.d.ts +4 -17
- package/api/_core/searchTemplate.js +5 -3
- package/api/_core/termvectors.js +9 -9
- package/api/_core/update.js +2 -2
- package/api/_core/updateByQuery.js +3 -3
- package/api/_core/updateByQueryRethrottle.js +1 -1
- package/api/_types/_common.aggregations.d.ts +288 -386
- package/api/_types/_common.analysis.d.ts +12 -5
- package/api/_types/_common.d.ts +80 -54
- package/api/_types/_common.mapping.d.ts +35 -3
- package/api/_types/_common.query_dsl.d.ts +54 -26
- package/api/_types/_core.bulk.d.ts +33 -9
- package/api/_types/_core.explain.d.ts +1 -7
- package/api/_types/_core.get.d.ts +7 -3
- package/api/_types/_core.msearch.d.ts +1 -1
- package/api/_types/_core.pit.d.ts +2 -2
- package/api/_types/_core.search.d.ts +82 -33
- package/api/_types/asynchronous_search._common.d.ts +3 -4
- package/api/_types/cat._common.d.ts +19 -0
- package/api/_types/cat.indices.d.ts +28 -0
- package/api/_types/cat.nodes.d.ts +13 -0
- package/api/_types/cat.shards.d.ts +13 -0
- package/api/_types/cat.thread_pool.d.ts +1 -0
- package/api/_types/cluster._common.d.ts +2 -0
- package/api/_types/cluster.allocation_explain.d.ts +3 -0
- package/api/_types/cluster.decommission_awareness.d.ts +1 -3
- package/api/_types/cluster.pending_tasks.d.ts +2 -0
- package/api/_types/cluster.stats.d.ts +3 -3
- package/api/_types/cluster.weighted_routing.d.ts +1 -8
- package/api/_types/flow_framework.common.d.ts +5 -2
- package/api/_types/geospatial._common.d.ts +153 -0
- package/api/_types/index.d.ts +22 -0
- package/api/_types/indices._common.d.ts +75 -19
- package/api/_types/indices.modify_data_stream.d.ts +33 -0
- package/api/_types/ingest._common.d.ts +37 -0
- package/api/_types/ingestion._common.d.ts +70 -0
- package/api/_types/insights._common.d.ts +8 -35
- package/api/_types/ism._common.d.ts +3 -3
- package/api/_types/knn._common.d.ts +45 -6
- package/api/_types/list._common.d.ts +19 -0
- package/api/_types/ltr._common.d.ts +63 -2
- package/api/_types/ml._common.d.ts +218 -168
- package/api/_types/neural._common.d.ts +229 -0
- package/api/_types/nodes._common.d.ts +1 -1
- package/api/_types/nodes.info.d.ts +8 -2
- package/api/_types/nodes.stats.d.ts +51 -2
- package/api/_types/observability._common.d.ts +0 -16
- package/api/_types/ppl._common.d.ts +19 -0
- package/api/_types/query._common.d.ts +0 -20
- package/api/_types/replication._common.d.ts +4 -1
- package/api/_types/rollups._common.d.ts +2 -0
- package/api/_types/search_pipeline._common.d.ts +52 -1
- package/api/_types/search_relevance._common.d.ts +132 -0
- package/api/_types/security._common.d.ts +31 -22
- package/api/_types/security_analytics.alerts.d.ts +59 -0
- package/api/_types/security_analytics.findings.d.ts +65 -0
- package/api/_types/sm._common.d.ts +3 -39
- package/api/_types/sql._common.d.ts +8 -0
- package/api/_types/transforms._common.d.ts +0 -23
- package/api/_types/ubi._common.d.ts +19 -0
- package/api/_types/wlm._common.d.ts +5 -3
- package/api/asynchronousSearch/_api.js +12 -4
- package/api/asynchronousSearch/delete.js +1 -1
- package/api/asynchronousSearch/get.js +1 -1
- package/api/asynchronousSearch/search.js +1 -1
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cat/_api.js +58 -30
- package/api/cat/aliases.d.ts +2 -1
- package/api/cat/aliases.js +2 -2
- package/api/cat/allPitSegments.d.ts +2 -1
- package/api/cat/allPitSegments.js +2 -2
- package/api/cat/allocation.d.ts +2 -1
- package/api/cat/allocation.js +2 -2
- package/api/cat/clusterManager.d.ts +2 -1
- package/api/cat/clusterManager.js +2 -2
- package/api/cat/count.d.ts +2 -1
- package/api/cat/count.js +3 -3
- package/api/cat/fielddata.d.ts +2 -1
- package/api/cat/fielddata.js +2 -2
- package/api/cat/health.d.ts +2 -1
- package/api/cat/health.js +2 -2
- package/api/cat/help.js +1 -1
- package/api/cat/indices.d.ts +2 -1
- package/api/cat/indices.js +2 -2
- package/api/cat/master.d.ts +2 -1
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -1
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +2 -1
- package/api/cat/nodes.js +3 -3
- package/api/cat/pendingTasks.d.ts +2 -1
- package/api/cat/pendingTasks.js +3 -3
- package/api/cat/pitSegments.d.ts +2 -1
- package/api/cat/pitSegments.js +2 -2
- package/api/cat/plugins.d.ts +2 -1
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +2 -1
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -1
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +2 -1
- package/api/cat/segmentReplication.js +3 -3
- package/api/cat/segments.d.ts +2 -1
- package/api/cat/segments.js +2 -2
- package/api/cat/shards.d.ts +2 -1
- package/api/cat/shards.js +3 -3
- package/api/cat/snapshots.d.ts +2 -1
- package/api/cat/snapshots.js +3 -3
- package/api/cat/tasks.d.ts +2 -1
- package/api/cat/tasks.js +3 -3
- package/api/cat/templates.d.ts +2 -1
- package/api/cat/templates.js +2 -2
- package/api/cat/threadPool.d.ts +2 -1
- package/api/cat/threadPool.js +2 -2
- package/api/cluster/_api.js +63 -38
- package/api/cluster/allocationExplain.js +1 -1
- package/api/cluster/deleteComponentTemplate.js +2 -2
- package/api/cluster/deleteDecommissionAwareness.js +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +5 -2
- package/api/cluster/deleteWeightedRouting.js +1 -1
- package/api/cluster/existsComponentTemplate.js +3 -3
- package/api/cluster/getComponentTemplate.js +2 -2
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getDecommissionAwareness.js +1 -1
- package/api/cluster/getSettings.js +2 -2
- package/api/cluster/getWeightedRouting.d.ts +3 -1
- package/api/cluster/getWeightedRouting.js +1 -1
- package/api/cluster/health.d.ts +2 -1
- package/api/cluster/health.js +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.js +1 -1
- package/api/cluster/putComponentTemplate.js +3 -3
- package/api/cluster/putDecommissionAwareness.js +1 -1
- package/api/cluster/putSettings.js +2 -2
- package/api/cluster/putWeightedRouting.d.ts +5 -2
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/remoteInfo.js +1 -1
- package/api/cluster/reroute.js +2 -2
- package/api/cluster/state.js +3 -3
- package/api/cluster/stats.js +3 -3
- package/api/danglingIndices/_api.js +13 -6
- package/api/danglingIndices/deleteDanglingIndex.js +1 -1
- package/api/danglingIndices/importDanglingIndex.js +1 -1
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +27 -13
- package/api/flowFramework/create.js +7 -7
- package/api/flowFramework/delete.js +4 -4
- package/api/flowFramework/deprovision.js +4 -4
- package/api/flowFramework/get.js +3 -3
- package/api/flowFramework/getStatus.js +4 -4
- package/api/flowFramework/getSteps.js +3 -3
- package/api/flowFramework/provision.js +3 -3
- package/api/flowFramework/search.js +1 -1
- package/api/flowFramework/searchState.js +1 -1
- package/api/flowFramework/update.js +8 -8
- package/api/geospatial/_api.js +57 -0
- package/api/geospatial/deleteIp2GeoDatasource.d.ts +30 -0
- package/api/geospatial/deleteIp2GeoDatasource.js +49 -0
- package/api/geospatial/geojsonUploadPost.d.ts +30 -0
- package/api/geospatial/geojsonUploadPost.js +49 -0
- package/api/geospatial/geojsonUploadPut.d.ts +30 -0
- package/api/geospatial/geojsonUploadPut.js +49 -0
- package/api/geospatial/getIp2GeoDatasource.d.ts +31 -0
- package/api/geospatial/getIp2GeoDatasource.js +48 -0
- package/api/geospatial/getUploadStats.d.ts +28 -0
- package/api/geospatial/getUploadStats.js +45 -0
- package/api/geospatial/putIp2GeoDatasource.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasource.js +53 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.js +50 -0
- package/api/http/_api.js +22 -9
- package/api/index.d.ts +168 -10
- package/api/indices/_api.js +134 -78
- package/api/indices/addBlock.js +1 -1
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.js +3 -3
- package/api/indices/clone.js +1 -1
- package/api/indices/close.js +2 -2
- package/api/indices/create.js +2 -2
- package/api/indices/createDataStream.js +1 -1
- package/api/indices/dataStreamsStats.js +2 -2
- package/api/indices/delete.js +2 -2
- package/api/indices/deleteAlias.js +3 -3
- package/api/indices/deleteDataStream.js +2 -2
- package/api/indices/deleteIndexTemplate.js +2 -2
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.js +3 -3
- package/api/indices/existsIndexTemplate.js +2 -2
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.js +2 -2
- package/api/indices/forcemerge.js +1 -1
- package/api/indices/get.js +2 -2
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.js +2 -2
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.js +2 -2
- package/api/indices/getMapping.js +2 -2
- package/api/indices/getSettings.js +3 -3
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.js +2 -2
- package/api/indices/modifyDataStream.d.ts +37 -0
- package/api/indices/modifyDataStream.js +50 -0
- package/api/indices/open.js +2 -2
- package/api/indices/putAlias.js +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.js +1 -1
- package/api/indices/putSettings.js +3 -3
- package/api/indices/putTemplate.js +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.js +2 -2
- package/api/indices/resolveIndex.js +1 -1
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.js +2 -2
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.js +1 -1
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.js +1 -1
- package/api/indices/stats.js +5 -5
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.js +2 -2
- package/api/indices/validateQuery.js +2 -2
- package/api/ingest/_api.js +18 -9
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.js +1 -1
- package/api/ingest/processorGrok.js +1 -1
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.js +1 -1
- package/api/ingestion/_api.js +37 -0
- package/api/ingestion/getState.d.ts +34 -0
- package/api/ingestion/getState.js +52 -0
- package/api/ingestion/pause.d.ts +33 -0
- package/api/ingestion/pause.js +51 -0
- package/api/ingestion/resume.d.ts +34 -0
- package/api/ingestion/resume.js +52 -0
- package/api/insights/_api.js +7 -2
- package/api/insights/topQueries.d.ts +1 -1
- package/api/ism/_api.js +40 -24
- package/api/ism/addPolicy.d.ts +1 -1
- package/api/ism/addPolicy.js +2 -2
- package/api/ism/changePolicy.d.ts +1 -1
- package/api/ism/changePolicy.js +2 -2
- package/api/ism/deletePolicy.js +1 -1
- package/api/ism/existsPolicy.js +2 -2
- package/api/ism/explainPolicy.d.ts +1 -1
- package/api/ism/explainPolicy.js +3 -3
- package/api/ism/getPolicies.js +2 -2
- package/api/ism/getPolicy.js +2 -2
- package/api/ism/putPolicies.js +2 -2
- package/api/ism/putPolicy.js +1 -1
- package/api/ism/refreshSearchAnalyzers.d.ts +1 -1
- package/api/ism/refreshSearchAnalyzers.js +3 -3
- package/api/ism/removePolicy.d.ts +1 -1
- package/api/ism/removePolicy.js +2 -2
- package/api/ism/retryIndex.d.ts +1 -1
- package/api/ism/retryIndex.js +3 -3
- package/api/knn/_api.js +20 -10
- package/api/knn/deleteModel.js +1 -1
- package/api/knn/getModel.js +1 -1
- package/api/knn/searchModels.d.ts +1 -1
- package/api/knn/searchModels.js +5 -5
- package/api/knn/stats.d.ts +1 -1
- package/api/knn/stats.js +3 -3
- package/api/knn/trainModel.js +1 -1
- package/api/knn/warmup.js +2 -2
- package/api/list/_api.js +10 -3
- package/api/list/help.js +1 -1
- package/api/list/indices.d.ts +3 -2
- package/api/list/indices.js +5 -5
- package/api/list/shards.d.ts +3 -2
- package/api/list/shards.js +4 -4
- package/api/ltr/_api.js +106 -1
- package/api/ltr/addFeaturesToSet.d.ts +37 -0
- package/api/ltr/addFeaturesToSet.js +55 -0
- package/api/ltr/addFeaturesToSetByQuery.d.ts +35 -0
- package/api/ltr/addFeaturesToSetByQuery.js +57 -0
- package/api/ltr/cacheStats.d.ts +28 -0
- package/api/ltr/cacheStats.js +45 -0
- package/api/ltr/clearCache.d.ts +30 -0
- package/api/ltr/clearCache.js +48 -0
- package/api/ltr/createDefaultStore.d.ts +28 -0
- package/api/ltr/createDefaultStore.js +45 -0
- package/api/ltr/createFeature.d.ts +35 -0
- package/api/ltr/createFeature.js +53 -0
- package/api/ltr/createFeatureset.d.ts +35 -0
- package/api/ltr/createFeatureset.js +53 -0
- package/api/ltr/createModel.d.ts +35 -0
- package/api/ltr/createModel.js +53 -0
- package/api/ltr/createModelFromSet.d.ts +35 -0
- package/api/ltr/createModelFromSet.js +53 -0
- package/api/ltr/createStore.d.ts +30 -0
- package/api/ltr/createStore.js +49 -0
- package/api/ltr/deleteDefaultStore.d.ts +28 -0
- package/api/ltr/deleteDefaultStore.js +45 -0
- package/api/ltr/deleteFeature.d.ts +31 -0
- package/api/ltr/deleteFeature.js +51 -0
- package/api/ltr/deleteFeatureset.d.ts +31 -0
- package/api/ltr/deleteFeatureset.js +51 -0
- package/api/ltr/deleteModel.d.ts +31 -0
- package/api/ltr/deleteModel.js +51 -0
- package/api/ltr/deleteStore.d.ts +30 -0
- package/api/ltr/deleteStore.js +49 -0
- package/api/ltr/getFeature.d.ts +30 -0
- package/api/ltr/getFeature.js +51 -0
- package/api/ltr/getFeatureset.d.ts +30 -0
- package/api/ltr/getFeatureset.js +51 -0
- package/api/ltr/getModel.d.ts +30 -0
- package/api/ltr/getModel.js +51 -0
- package/api/ltr/getStore.d.ts +30 -0
- package/api/ltr/getStore.js +49 -0
- package/api/ltr/listStores.d.ts +28 -0
- package/api/ltr/listStores.js +45 -0
- package/api/ltr/searchFeatures.d.ts +33 -0
- package/api/ltr/searchFeatures.js +51 -0
- package/api/ltr/searchFeaturesets.d.ts +33 -0
- package/api/ltr/searchFeaturesets.js +51 -0
- package/api/ltr/searchModels.d.ts +33 -0
- package/api/ltr/searchModels.js +51 -0
- package/api/ltr/stats.d.ts +1 -1
- package/api/ltr/stats.js +2 -2
- package/api/ltr/updateFeature.d.ts +35 -0
- package/api/ltr/updateFeature.js +53 -0
- package/api/ltr/updateFeatureset.d.ts +35 -0
- package/api/ltr/updateFeatureset.js +53 -0
- package/api/ml/_api.js +239 -116
- package/api/ml/addAgenticMemory.d.ts +45 -0
- package/api/ml/addAgenticMemory.js +50 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemoryContainer.d.ts +40 -0
- package/api/ml/createMemoryContainer.js +47 -0
- package/api/ml/createMemoryContainerSession.d.ts +41 -0
- package/api/ml/createMemoryContainerSession.js +50 -0
- package/api/ml/createModelMeta.d.ts +1 -0
- package/api/ml/deleteAgenticMemory.d.ts +33 -0
- package/api/ml/deleteAgenticMemory.js +55 -0
- package/api/ml/deleteAgenticMemoryQuery.d.ts +37 -0
- package/api/ml/deleteAgenticMemoryQuery.js +53 -0
- package/api/ml/deleteMemoryContainer.d.ts +33 -0
- package/api/ml/deleteMemoryContainer.js +51 -0
- package/api/ml/executeAgentStream.d.ts +35 -0
- package/api/ml/executeAgentStream.js +50 -0
- package/api/ml/executeAlgorithm.d.ts +2 -2
- package/api/ml/executeAlgorithm.js +1 -1
- package/api/ml/executeTool.d.ts +35 -0
- package/api/ml/executeTool.js +50 -0
- package/api/ml/getAgenticMemory.d.ts +32 -0
- package/api/ml/getAgenticMemory.js +55 -0
- package/api/ml/getMemoryContainer.d.ts +30 -0
- package/api/ml/getMemoryContainer.js +49 -0
- package/api/ml/getStats.d.ts +1 -1
- package/api/ml/getTool.d.ts +1 -1
- package/api/ml/loadModel.d.ts +2 -1
- package/api/ml/predictModel.d.ts +6 -1
- package/api/ml/predictModelStream.d.ts +37 -0
- package/api/ml/predictModelStream.js +50 -0
- package/api/ml/registerModel.d.ts +3 -0
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/registerModelMeta.d.ts +1 -0
- package/api/ml/searchAgenticMemory.d.ts +40 -0
- package/api/ml/searchAgenticMemory.js +53 -0
- package/api/ml/searchAgents.d.ts +4 -2
- package/api/ml/searchConnectors.d.ts +4 -2
- package/api/ml/searchMemory.d.ts +4 -2
- package/api/ml/searchMemoryContainer.d.ts +38 -0
- package/api/ml/searchMemoryContainer.js +47 -0
- package/api/ml/searchMessage.d.ts +4 -2
- package/api/ml/searchModelGroup.d.ts +4 -2
- package/api/ml/searchModels.d.ts +4 -2
- package/api/ml/searchTasks.d.ts +4 -2
- package/api/ml/updateAgenticMemory.d.ts +46 -0
- package/api/ml/updateAgenticMemory.js +56 -0
- package/api/ml/updateConnector.d.ts +2 -2
- package/api/ml/updateMemoryContainer.d.ts +38 -0
- package/api/ml/updateMemoryContainer.js +50 -0
- package/api/neural/_api.js +31 -0
- package/api/neural/stats.d.ts +36 -0
- package/api/neural/stats.js +55 -0
- package/api/nodes/_api.js +16 -7
- package/api/nodes/hotThreads.js +7 -7
- package/api/nodes/info.js +4 -4
- package/api/nodes/reloadSecureSettings.js +2 -2
- package/api/nodes/stats.js +10 -10
- package/api/nodes/usage.js +1 -1
- package/api/notifications/_api.js +31 -18
- package/api/notifications/createConfig.js +1 -1
- package/api/notifications/deleteConfig.js +1 -1
- package/api/notifications/deleteConfigs.js +1 -1
- package/api/notifications/getConfigs.js +1 -1
- package/api/notifications/listChannels.js +1 -1
- package/api/notifications/listFeatures.js +1 -1
- package/api/notifications/sendTest.js +1 -1
- package/api/notifications/updateConfig.js +1 -1
- package/api/observability/_api.js +25 -14
- package/api/observability/createObject.js +1 -1
- package/api/observability/deleteObject.js +1 -1
- package/api/observability/deleteObjects.js +2 -2
- package/api/observability/getObject.js +1 -1
- package/api/observability/updateObject.js +2 -2
- package/api/ppl/_api.js +14 -6
- package/api/ppl/explain.d.ts +2 -1
- package/api/ppl/explain.js +5 -5
- package/api/ppl/getStats.d.ts +2 -1
- package/api/ppl/getStats.js +4 -4
- package/api/ppl/postStats.d.ts +2 -1
- package/api/ppl/postStats.js +5 -5
- package/api/ppl/query.d.ts +2 -1
- package/api/ppl/query.js +5 -5
- package/api/query/_api.js +19 -10
- package/api/query/datasourceDelete.js +2 -2
- package/api/query/datasourceRetrieve.js +2 -2
- package/api/query/datasourcesCreate.js +2 -2
- package/api/query/datasourcesList.js +1 -1
- package/api/query/datasourcesUpdate.js +2 -2
- package/api/remoteStore/_api.js +6 -1
- package/api/remoteStore/restore.js +1 -1
- package/api/replication/_api.js +32 -17
- package/api/replication/autofollowStats.js +1 -1
- package/api/replication/createReplicationRule.js +1 -1
- package/api/replication/deleteReplicationRule.js +1 -1
- package/api/replication/followerStats.js +1 -1
- package/api/replication/leaderStats.js +1 -1
- package/api/replication/pause.js +1 -1
- package/api/replication/resume.js +1 -1
- package/api/replication/start.js +1 -1
- package/api/replication/status.js +1 -1
- package/api/replication/stop.js +1 -1
- package/api/replication/updateSettings.js +1 -1
- package/api/rollups/_api.js +16 -6
- package/api/rollups/delete.js +3 -3
- package/api/rollups/explain.js +3 -3
- package/api/rollups/get.js +3 -3
- package/api/rollups/put.js +6 -6
- package/api/rollups/start.js +3 -3
- package/api/rollups/stop.js +3 -3
- package/api/searchPipeline/_api.js +10 -3
- package/api/searchPipeline/put.js +1 -1
- package/api/searchRelevance/_api.js +117 -0
- package/api/searchRelevance/deleteExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteExperiments.js +49 -0
- package/api/searchRelevance/deleteJudgments.d.ts +30 -0
- package/api/searchRelevance/deleteJudgments.js +49 -0
- package/api/searchRelevance/deleteQuerySets.d.ts +30 -0
- package/api/searchRelevance/deleteQuerySets.js +49 -0
- package/api/searchRelevance/deleteScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteScheduledExperiments.js +49 -0
- package/api/searchRelevance/deleteSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/deleteSearchConfigurations.js +49 -0
- package/api/searchRelevance/experimentsSearch.d.ts +31 -0
- package/api/searchRelevance/experimentsSearch.js +47 -0
- package/api/searchRelevance/getExperiments.d.ts +30 -0
- package/api/searchRelevance/getExperiments.js +48 -0
- package/api/searchRelevance/getJudgments.d.ts +30 -0
- package/api/searchRelevance/getJudgments.js +48 -0
- package/api/searchRelevance/getNodeStats.d.ts +42 -0
- package/api/searchRelevance/getNodeStats.js +56 -0
- package/api/searchRelevance/getQuerySets.d.ts +30 -0
- package/api/searchRelevance/getQuerySets.js +48 -0
- package/api/searchRelevance/getScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/getScheduledExperiments.js +48 -0
- package/api/searchRelevance/getSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/getSearchConfigurations.js +48 -0
- package/api/searchRelevance/getStats.d.ts +41 -0
- package/api/searchRelevance/getStats.js +53 -0
- package/api/searchRelevance/judgmentsSearch.d.ts +31 -0
- package/api/searchRelevance/judgmentsSearch.js +47 -0
- package/api/searchRelevance/postQuerySets.d.ts +30 -0
- package/api/searchRelevance/postQuerySets.js +47 -0
- package/api/searchRelevance/postScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/postScheduledExperiments.js +47 -0
- package/api/searchRelevance/putExperiments.d.ts +32 -0
- package/api/searchRelevance/putExperiments.js +47 -0
- package/api/searchRelevance/putJudgments.d.ts +32 -0
- package/api/searchRelevance/putJudgments.js +47 -0
- package/api/searchRelevance/putQuerySets.d.ts +30 -0
- package/api/searchRelevance/putQuerySets.js +47 -0
- package/api/searchRelevance/putSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/putSearchConfigurations.js +47 -0
- package/api/searchRelevance/querySetsSearch.d.ts +31 -0
- package/api/searchRelevance/querySetsSearch.js +47 -0
- package/api/searchRelevance/searchConfigurationsSearch.d.ts +31 -0
- package/api/searchRelevance/searchConfigurationsSearch.js +47 -0
- package/api/security/_api.js +227 -147
- package/api/security/changePassword.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createActionGroup.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +1 -1
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getActionGroup.js +1 -1
- package/api/security/getActionGroups.js +1 -1
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getAuditConfiguration.js +1 -1
- package/api/security/getCertificates.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +1 -1
- package/api/security/getRoleMappings.js +1 -1
- package/api/security/getRoles.js +1 -1
- package/api/security/getSslinfo.d.ts +2 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getTenants.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/getUsers.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +3 -1
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +1 -1
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchRoles.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/updateAuditConfiguration.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/securityAnalytics/_api.js +41 -0
- package/api/securityAnalytics/getAlerts.d.ts +42 -0
- package/api/securityAnalytics/getAlerts.js +58 -0
- package/api/securityAnalytics/getFindings.d.ts +43 -0
- package/api/securityAnalytics/getFindings.js +59 -0
- package/api/securityAnalytics/searchFindingCorrelations.d.ts +33 -0
- package/api/securityAnalytics/searchFindingCorrelations.js +52 -0
- package/api/sm/_api.js +28 -16
- package/api/sm/deletePolicy.d.ts +2 -2
- package/api/sm/getPolicies.d.ts +2 -1
- package/api/sm/getPolicies.js +1 -1
- package/api/snapshot/_api.js +31 -16
- package/api/snapshot/cleanupRepository.js +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.js +2 -2
- package/api/snapshot/createRepository.js +2 -2
- package/api/snapshot/delete.js +2 -2
- package/api/snapshot/deleteRepository.js +2 -2
- package/api/snapshot/get.js +3 -3
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +1 -0
- package/api/snapshot/restore.js +2 -2
- package/api/snapshot/status.js +2 -2
- package/api/snapshot/verifyRepository.js +2 -2
- package/api/sql/_api.js +18 -8
- package/api/sql/close.d.ts +1 -1
- package/api/sql/close.js +5 -5
- package/api/sql/explain.d.ts +1 -1
- package/api/sql/explain.js +5 -5
- package/api/sql/getStats.d.ts +2 -1
- package/api/sql/getStats.js +4 -4
- package/api/sql/postStats.d.ts +1 -1
- package/api/sql/postStats.js +5 -5
- package/api/sql/query.d.ts +1 -1
- package/api/sql/query.js +5 -5
- package/api/sql/settings.d.ts +1 -1
- package/api/sql/settings.js +4 -4
- package/api/tasks/_api.js +12 -3
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/delete.d.ts +30 -0
- package/api/tasks/delete.js +49 -0
- package/api/tasks/get.js +1 -1
- package/api/tasks/list.js +1 -1
- package/api/transforms/_api.js +20 -8
- package/api/transforms/delete.d.ts +2 -2
- package/api/transforms/delete.js +1 -1
- package/api/transforms/explain.js +1 -1
- package/api/transforms/get.js +1 -1
- package/api/transforms/preview.js +1 -1
- package/api/transforms/put.js +1 -1
- package/api/transforms/search.js +1 -1
- package/api/transforms/start.js +1 -1
- package/api/transforms/stop.js +1 -1
- package/api/ubi/_api.js +31 -0
- package/api/ubi/initialize.d.ts +27 -0
- package/api/ubi/initialize.js +45 -0
- package/api/wlm/_api.js +16 -8
- package/lib/Connection.d.ts +1 -2
- package/lib/Connection.js +5 -3
- package/lib/Helpers.js +8 -8
- package/lib/ProxyAgent.js +125 -0
- package/lib/aws/shared.js +4 -3
- package/package.json +9 -4
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import * as Nodes_Common from './nodes._common'
|
|
18
|
+
|
|
19
|
+
export type FlatNeuralInfoStats = {
|
|
20
|
+
cluster_version?: InfoStringStat;
|
|
21
|
+
'processors.ingest.skip_existing_processors'?: InfoCounterStat;
|
|
22
|
+
'processors.ingest.sparse_encoding_processors'?: InfoCounterStat;
|
|
23
|
+
'processors.ingest.text_chunking_delimiter_processors'?: InfoCounterStat;
|
|
24
|
+
'processors.ingest.text_chunking_fixed_char_length_processors'?: InfoCounterStat;
|
|
25
|
+
'processors.ingest.text_chunking_fixed_token_length_processors'?: InfoCounterStat;
|
|
26
|
+
'processors.ingest.text_chunking_processors'?: InfoCounterStat;
|
|
27
|
+
'processors.ingest.text_embedding_processors_in_pipelines'?: InfoCounterStat;
|
|
28
|
+
'processors.ingest.text_image_embedding_processors'?: InfoCounterStat;
|
|
29
|
+
'processors.search.hybrid.comb_arithmetic_processors'?: InfoCounterStat;
|
|
30
|
+
'processors.search.hybrid.comb_geometric_processors'?: InfoCounterStat;
|
|
31
|
+
'processors.search.hybrid.comb_harmonic_processors'?: InfoCounterStat;
|
|
32
|
+
'processors.search.hybrid.comb_rrf_processors'?: InfoCounterStat;
|
|
33
|
+
'processors.search.hybrid.norm_l2_processors'?: InfoCounterStat;
|
|
34
|
+
'processors.search.hybrid.norm_minmax_processors'?: InfoCounterStat;
|
|
35
|
+
'processors.search.hybrid.norm_zscore_processors'?: InfoCounterStat;
|
|
36
|
+
'processors.search.hybrid.normalization_processors'?: InfoCounterStat;
|
|
37
|
+
'processors.search.hybrid.rank_based_normalization_processors'?: InfoCounterStat;
|
|
38
|
+
'processors.search.neural_query_enricher_processors'?: InfoCounterStat;
|
|
39
|
+
'processors.search.neural_sparse_two_phase_processors'?: InfoCounterStat;
|
|
40
|
+
'processors.search.rerank_by_field_processors'?: InfoCounterStat;
|
|
41
|
+
'processors.search.rerank_ml_processors'?: InfoCounterStat;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type FlatNeuralNodeStats = {
|
|
45
|
+
'processors.ingest.semantic_field_chunking_executions'?: TimestampedEventCounterStat;
|
|
46
|
+
'processors.ingest.semantic_field_executions'?: TimestampedEventCounterStat;
|
|
47
|
+
'processors.ingest.skip_existing_executions'?: TimestampedEventCounterStat;
|
|
48
|
+
'processors.ingest.sparse_encoding_executions'?: TimestampedEventCounterStat;
|
|
49
|
+
'processors.ingest.text_chunking_delimiter_executions'?: TimestampedEventCounterStat;
|
|
50
|
+
'processors.ingest.text_chunking_executions'?: TimestampedEventCounterStat;
|
|
51
|
+
'processors.ingest.text_chunking_fixed_char_length_executions'?: TimestampedEventCounterStat;
|
|
52
|
+
'processors.ingest.text_chunking_fixed_token_length_executions'?: TimestampedEventCounterStat;
|
|
53
|
+
'processors.ingest.text_embedding_executions'?: TimestampedEventCounterStat;
|
|
54
|
+
'processors.ingest.text_image_embedding_executions'?: TimestampedEventCounterStat;
|
|
55
|
+
'processors.search.hybrid.comb_arithmetic_executions'?: TimestampedEventCounterStat;
|
|
56
|
+
'processors.search.hybrid.comb_geometric_executions'?: TimestampedEventCounterStat;
|
|
57
|
+
'processors.search.hybrid.comb_harmonic_executions'?: TimestampedEventCounterStat;
|
|
58
|
+
'processors.search.hybrid.comb_rrf_executions'?: TimestampedEventCounterStat;
|
|
59
|
+
'processors.search.hybrid.norm_l2_executions'?: TimestampedEventCounterStat;
|
|
60
|
+
'processors.search.hybrid.norm_minmax_executions'?: TimestampedEventCounterStat;
|
|
61
|
+
'processors.search.hybrid.norm_zscore_executions'?: TimestampedEventCounterStat;
|
|
62
|
+
'processors.search.hybrid.normalization_processor_executions'?: TimestampedEventCounterStat;
|
|
63
|
+
'processors.search.hybrid.rank_based_normalization_processor_executions'?: TimestampedEventCounterStat;
|
|
64
|
+
'processors.search.neural_query_enricher_executions'?: TimestampedEventCounterStat;
|
|
65
|
+
'processors.search.neural_sparse_two_phase_executions'?: TimestampedEventCounterStat;
|
|
66
|
+
'processors.search.rerank_by_field_executions'?: TimestampedEventCounterStat;
|
|
67
|
+
'processors.search.rerank_ml_executions'?: TimestampedEventCounterStat;
|
|
68
|
+
'query.hybrid.hybrid_query_requests'?: TimestampedEventCounterStat;
|
|
69
|
+
'query.hybrid.hybrid_query_with_filter_requests'?: TimestampedEventCounterStat;
|
|
70
|
+
'query.hybrid.hybrid_query_with_inner_hits_requests'?: TimestampedEventCounterStat;
|
|
71
|
+
'query.hybrid.hybrid_query_with_pagination_requests'?: TimestampedEventCounterStat;
|
|
72
|
+
'query.neural_sparse.neural_sparse_query_requests'?: TimestampedEventCounterStat;
|
|
73
|
+
'query.neural.neural_query_against_knn_requests'?: TimestampedEventCounterStat;
|
|
74
|
+
'query.neural.neural_query_against_semantic_dense_requests'?: TimestampedEventCounterStat;
|
|
75
|
+
'query.neural.neural_query_against_semantic_sparse_requests'?: TimestampedEventCounterStat;
|
|
76
|
+
'query.neural.neural_query_requests'?: TimestampedEventCounterStat;
|
|
77
|
+
'semantic_highlighting.semantic_highlighting_request_count'?: TimestampedEventCounterStat;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type FlatNeuralStats = Nodes_Common.NodesResponseBase & {
|
|
81
|
+
all_nodes?: FlatNeuralNodeStats;
|
|
82
|
+
cluster_name?: string;
|
|
83
|
+
info?: FlatNeuralInfoStats;
|
|
84
|
+
nodes?: Record<string, FlatNeuralNodeStats>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type InfoCounterStat = number | (StatMetadata & {
|
|
88
|
+
stat_type?: 'info_counter';
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
export type InfoStringStat = string | (StatMetadata & {
|
|
92
|
+
stat_type?: 'info_string';
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
export type NestedNeuralInfoStats = {
|
|
96
|
+
cluster_version?: InfoStringStat;
|
|
97
|
+
processors?: NestedNeuralInfoStatsProcessors;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type NestedNeuralInfoStatsProcessors = {
|
|
101
|
+
ingest?: NestedNeuralInfoStatsProcessorsIngest;
|
|
102
|
+
search?: NestedNeuralInfoStatsProcessorsSearch;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type NestedNeuralInfoStatsProcessorsIngest = {
|
|
106
|
+
skip_existing_processors?: InfoCounterStat;
|
|
107
|
+
sparse_encoding_processors?: InfoCounterStat;
|
|
108
|
+
text_chunking_delimiter_processors?: InfoCounterStat;
|
|
109
|
+
text_chunking_fixed_char_length_processors?: InfoCounterStat;
|
|
110
|
+
text_chunking_fixed_token_length_processors?: InfoCounterStat;
|
|
111
|
+
text_chunking_processors?: InfoCounterStat;
|
|
112
|
+
text_embedding_processors_in_pipelines?: InfoCounterStat;
|
|
113
|
+
text_image_embedding_processors?: InfoCounterStat;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type NestedNeuralInfoStatsProcessorsSearch = {
|
|
117
|
+
hybrid?: NestedNeuralInfoStatsProcessorsSearchHybrid;
|
|
118
|
+
neural_query_enricher_processors?: InfoCounterStat;
|
|
119
|
+
neural_sparse_two_phase_processors?: InfoCounterStat;
|
|
120
|
+
rerank_by_field_processors?: InfoCounterStat;
|
|
121
|
+
rerank_ml_processors?: InfoCounterStat;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export type NestedNeuralInfoStatsProcessorsSearchHybrid = {
|
|
125
|
+
comb_arithmetic_processors?: InfoCounterStat;
|
|
126
|
+
comb_geometric_processors?: InfoCounterStat;
|
|
127
|
+
comb_harmonic_processors?: InfoCounterStat;
|
|
128
|
+
comb_rrf_processors?: InfoCounterStat;
|
|
129
|
+
norm_l2_processors?: InfoCounterStat;
|
|
130
|
+
norm_minmax_processors?: InfoCounterStat;
|
|
131
|
+
norm_zscore_processors?: InfoCounterStat;
|
|
132
|
+
normalization_processors?: InfoCounterStat;
|
|
133
|
+
rank_based_normalization_processors?: InfoCounterStat;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export type NestedNeuralNodeStats = {
|
|
137
|
+
processors?: NestedNeuralNodeStatsProcessors;
|
|
138
|
+
query?: NestedNeuralNodeStatsQuery;
|
|
139
|
+
semantic_highlighting?: NestedNeuralNodeStatsSemanticHighlighting;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type NestedNeuralNodeStatsProcessors = {
|
|
143
|
+
ingest?: NestedNeuralNodeStatsProcessorsIngest;
|
|
144
|
+
search?: NestedNeuralNodeStatsProcessorsSearch;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type NestedNeuralNodeStatsProcessorsIngest = {
|
|
148
|
+
semantic_field_chunking_executions?: TimestampedEventCounterStat;
|
|
149
|
+
semantic_field_executions?: TimestampedEventCounterStat;
|
|
150
|
+
skip_existing_executions?: TimestampedEventCounterStat;
|
|
151
|
+
sparse_encoding_executions?: TimestampedEventCounterStat;
|
|
152
|
+
text_chunking_delimiter_executions?: TimestampedEventCounterStat;
|
|
153
|
+
text_chunking_executions?: TimestampedEventCounterStat;
|
|
154
|
+
text_chunking_fixed_char_length_executions?: TimestampedEventCounterStat;
|
|
155
|
+
text_chunking_fixed_token_length_executions?: TimestampedEventCounterStat;
|
|
156
|
+
text_embedding_executions?: TimestampedEventCounterStat;
|
|
157
|
+
text_image_embedding_executions?: TimestampedEventCounterStat;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type NestedNeuralNodeStatsProcessorsSearch = {
|
|
161
|
+
hybrid?: NestedNeuralNodeStatsProcessorsSearchHybrid;
|
|
162
|
+
neural_query_enricher_executions?: TimestampedEventCounterStat;
|
|
163
|
+
neural_sparse_two_phase_executions?: TimestampedEventCounterStat;
|
|
164
|
+
rerank_by_field_executions?: TimestampedEventCounterStat;
|
|
165
|
+
rerank_ml_executions?: TimestampedEventCounterStat;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type NestedNeuralNodeStatsProcessorsSearchHybrid = {
|
|
169
|
+
comb_arithmetic_executions?: TimestampedEventCounterStat;
|
|
170
|
+
comb_geometric_executions?: TimestampedEventCounterStat;
|
|
171
|
+
comb_harmonic_executions?: TimestampedEventCounterStat;
|
|
172
|
+
comb_rrf_executions?: TimestampedEventCounterStat;
|
|
173
|
+
norm_l2_executions?: TimestampedEventCounterStat;
|
|
174
|
+
norm_minmax_executions?: TimestampedEventCounterStat;
|
|
175
|
+
norm_zscore_executions?: TimestampedEventCounterStat;
|
|
176
|
+
normalization_processor_executions?: TimestampedEventCounterStat;
|
|
177
|
+
rank_based_normalization_processor_executions?: TimestampedEventCounterStat;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type NestedNeuralNodeStatsQuery = {
|
|
181
|
+
hybrid?: NestedNeuralNodeStatsQueryHybrid;
|
|
182
|
+
neural?: NestedNeuralNodeStatsQueryNeural;
|
|
183
|
+
neural_sparse?: NestedNeuralNodeStatsQueryNeuralSparse;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export type NestedNeuralNodeStatsQueryHybrid = {
|
|
187
|
+
hybrid_query_requests?: TimestampedEventCounterStat;
|
|
188
|
+
hybrid_query_with_filter_requests?: TimestampedEventCounterStat;
|
|
189
|
+
hybrid_query_with_inner_hits_requests?: TimestampedEventCounterStat;
|
|
190
|
+
hybrid_query_with_pagination_requests?: TimestampedEventCounterStat;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export type NestedNeuralNodeStatsQueryNeural = {
|
|
194
|
+
neural_query_against_knn_requests?: TimestampedEventCounterStat;
|
|
195
|
+
neural_query_against_semantic_dense_requests?: TimestampedEventCounterStat;
|
|
196
|
+
neural_query_against_semantic_sparse_requests?: TimestampedEventCounterStat;
|
|
197
|
+
neural_query_requests?: TimestampedEventCounterStat;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type NestedNeuralNodeStatsQueryNeuralSparse = {
|
|
201
|
+
neural_sparse_query_requests?: TimestampedEventCounterStat;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type NestedNeuralNodeStatsSemanticHighlighting = {
|
|
205
|
+
semantic_highlighting_request_count?: TimestampedEventCounterStat;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export type NestedNeuralStats = Nodes_Common.NodesResponseBase & {
|
|
209
|
+
all_nodes?: NestedNeuralNodeStats;
|
|
210
|
+
cluster_name?: string;
|
|
211
|
+
info?: NestedNeuralInfoStats;
|
|
212
|
+
nodes?: Record<string, NestedNeuralNodeStats>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type NeuralStatName = 'cluster_version' | 'comb_arithmetic_executions' | 'comb_arithmetic_processors' | 'comb_geometric_executions' | 'comb_geometric_processors' | 'comb_harmonic_executions' | 'comb_harmonic_processors' | 'comb_rrf_executions' | 'comb_rrf_processors' | 'hybrid_query_requests' | 'hybrid_query_with_filter_requests' | 'hybrid_query_with_inner_hits_requests' | 'hybrid_query_with_pagination_requests' | 'neural_query_against_knn_requests' | 'neural_query_against_semantic_dense_requests' | 'neural_query_against_semantic_sparse_requests' | 'neural_query_enricher_executions' | 'neural_query_enricher_processors' | 'neural_query_requests' | 'neural_sparse_query_requests' | 'neural_sparse_two_phase_executions' | 'neural_sparse_two_phase_processors' | 'norm_l2_executions' | 'norm_l2_processors' | 'norm_minmax_executions' | 'norm_minmax_processors' | 'norm_zscore_executions' | 'norm_zscore_processors' | 'normalization_processor_executions' | 'normalization_processors' | 'rank_based_normalization_processor_executions' | 'rank_based_normalization_processors' | 'rerank_by_field_executions' | 'rerank_by_field_processors' | 'rerank_ml_executions' | 'rerank_ml_processors' | 'semantic_field_chunking_executions' | 'semantic_field_executions' | 'semantic_highlighting_request_count' | 'skip_existing_executions' | 'skip_existing_processors' | 'sparse_encoding_executions' | 'sparse_encoding_processors' | 'text_chunking_delimiter_executions' | 'text_chunking_delimiter_processors' | 'text_chunking_executions' | 'text_chunking_fixed_char_length_executions' | 'text_chunking_fixed_char_length_processors' | 'text_chunking_fixed_token_length_executions' | 'text_chunking_fixed_token_length_processors' | 'text_chunking_processors' | 'text_embedding_executions' | 'text_embedding_processors_in_pipelines' | 'text_image_embedding_executions' | 'text_image_embedding_processors'
|
|
216
|
+
|
|
217
|
+
export type NeuralStats = NestedNeuralStats | FlatNeuralStats
|
|
218
|
+
|
|
219
|
+
export type StatMetadata = {
|
|
220
|
+
stat_type: string;
|
|
221
|
+
value: number | string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type TimestampedEventCounterStat = number | (StatMetadata & {
|
|
225
|
+
minutes_since_last_event?: number;
|
|
226
|
+
stat_type?: 'timestamped_event_counter';
|
|
227
|
+
trailing_interval_value?: number;
|
|
228
|
+
})
|
|
229
|
+
|
|
@@ -155,9 +155,14 @@ export type NodeInfoSearch = {
|
|
|
155
155
|
remote: NodeInfoSearchRemote;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
export type NodeInfoSearchPipelineProcessor = {
|
|
159
|
+
type: string;
|
|
160
|
+
}
|
|
161
|
+
|
|
158
162
|
export type NodeInfoSearchPipelines = {
|
|
159
|
-
|
|
160
|
-
|
|
163
|
+
phase_results_processors?: NodeInfoSearchPipelineProcessor[];
|
|
164
|
+
request_processors?: NodeInfoSearchPipelineProcessor[];
|
|
165
|
+
response_processors?: NodeInfoSearchPipelineProcessor[];
|
|
161
166
|
}
|
|
162
167
|
|
|
163
168
|
export type NodeInfoSearchRemote = {
|
|
@@ -279,6 +284,7 @@ export type NodeInfoSettingsNode = {
|
|
|
279
284
|
export type NodeInfoSettingsPlugins = Record<string, any>
|
|
280
285
|
|
|
281
286
|
export type NodeInfoSettingsTransport = {
|
|
287
|
+
ssl?: Record<string, any>;
|
|
282
288
|
type: NodeInfoSettingsTransportType;
|
|
283
289
|
'type.default'?: string;
|
|
284
290
|
}
|
|
@@ -282,6 +282,12 @@ export type NodeIndexShardStats = Indices_Stats.IndexShardStatsBase & Record<str
|
|
|
282
282
|
export type NodeIndicesStats = Indices_Stats.IndexStatsBase & {
|
|
283
283
|
indices?: Record<string, Indices_Stats.IndexStats>;
|
|
284
284
|
shards?: Record<string, Record<string, NodeIndexShardStats>[]>;
|
|
285
|
+
status_counter?: NodeIndicesStatusCounter;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export type NodeIndicesStatusCounter = {
|
|
289
|
+
doc_status?: StatusCounterStats;
|
|
290
|
+
search_response_status?: StatusCounterStats;
|
|
285
291
|
}
|
|
286
292
|
|
|
287
293
|
export type OperatingSystem = {
|
|
@@ -362,6 +368,17 @@ export type RemoteStoreStats = {
|
|
|
362
368
|
last_successful_fetch_of_pinned_timestamps?: Common.EpochTimeUnitSeconds;
|
|
363
369
|
}
|
|
364
370
|
|
|
371
|
+
export type RepositoryStatsSnapshot = {
|
|
372
|
+
repository_location?: Record<string, string>;
|
|
373
|
+
repository_name?: string;
|
|
374
|
+
repository_type?: string;
|
|
375
|
+
request_counts?: Record<string, number>;
|
|
376
|
+
request_failures_total?: Record<string, number>;
|
|
377
|
+
request_retry_count_total?: Record<string, number>;
|
|
378
|
+
request_success_total?: Record<string, number>;
|
|
379
|
+
request_time_in_millis?: Record<string, number>;
|
|
380
|
+
}
|
|
381
|
+
|
|
365
382
|
export type ScriptCacheStats = {
|
|
366
383
|
contexts?: ScriptContextStats[];
|
|
367
384
|
sum: ScriptStats;
|
|
@@ -382,6 +399,7 @@ export type ScriptStatsBase = {
|
|
|
382
399
|
export type ShardAdmissionControlStats = {
|
|
383
400
|
global_cpu_usage?: UsageStats;
|
|
384
401
|
global_io_usage?: UsageStats;
|
|
402
|
+
global_native_memory_usage?: UsageStats;
|
|
385
403
|
}
|
|
386
404
|
|
|
387
405
|
export type ShardClusterManagerThrottlingStats = {
|
|
@@ -483,7 +501,7 @@ export type ShardIndexingPressureStats = {
|
|
|
483
501
|
total_rejections_breakup_shadow_mode?: ShardIndexingPressureRejectionsBreakupStats;
|
|
484
502
|
}
|
|
485
503
|
|
|
486
|
-
export type ShardRepositoriesStats =
|
|
504
|
+
export type ShardRepositoriesStats = RepositoryStatsSnapshot[]
|
|
487
505
|
|
|
488
506
|
export type ShardResourceUsageStats = Record<string, ShardResourceUsageStatsDetail>
|
|
489
507
|
|
|
@@ -491,6 +509,7 @@ export type ShardResourceUsageStatsDetail = {
|
|
|
491
509
|
cpu_utilization_percent?: Common.PercentageString;
|
|
492
510
|
io_usage_stats?: ShardResourceUsageStatsIoUsageStats;
|
|
493
511
|
memory_utilization_percent?: Common.PercentageString;
|
|
512
|
+
native_memory_utilization_percent?: Common.PercentageString;
|
|
494
513
|
timestamp?: Common.EpochTimeUnitMillis;
|
|
495
514
|
}
|
|
496
515
|
|
|
@@ -551,11 +570,20 @@ export type ShardSearchBackpressureTaskStats = {
|
|
|
551
570
|
resource_tracker_stats?: ShardSearchBackpressureTaskResourceTrackerStats;
|
|
552
571
|
}
|
|
553
572
|
|
|
573
|
+
export type ShardSearchPipelineFactoryStats = {
|
|
574
|
+
evaluation_stats?: ShardSearchPipelineOperationStats;
|
|
575
|
+
generation_stats?: ShardSearchPipelineOperationStats;
|
|
576
|
+
type?: string;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type ShardSearchPipelineFactoryStatsByType = Record<string, ShardSearchPipelineFactoryStats>
|
|
580
|
+
|
|
554
581
|
export type ShardSearchPipelineOperationStats = {
|
|
555
582
|
count?: number;
|
|
556
583
|
current?: number;
|
|
557
584
|
failed?: number;
|
|
558
585
|
time?: Common.Duration;
|
|
586
|
+
time_in_micros?: number;
|
|
559
587
|
time_in_millis?: Common.DurationValueUnitMillis;
|
|
560
588
|
}
|
|
561
589
|
|
|
@@ -566,23 +594,38 @@ export type ShardSearchPipelinePerPipelineProcessorStats = {
|
|
|
566
594
|
|
|
567
595
|
export type ShardSearchPipelinePerPipelineStats = {
|
|
568
596
|
request?: ShardSearchPipelineOperationStats;
|
|
569
|
-
request_processors?: ShardSearchPipelinePerPipelineProcessorStats[];
|
|
597
|
+
request_processors?: Record<string, ShardSearchPipelinePerPipelineProcessorStats>[];
|
|
570
598
|
response?: ShardSearchPipelineOperationStats;
|
|
571
599
|
response_processors?: Record<string, ShardSearchPipelinePerPipelineProcessorStats>[];
|
|
572
600
|
}
|
|
573
601
|
|
|
602
|
+
export type ShardSearchPipelineProcessorStatsByName = Record<string, ShardSearchPipelinePerPipelineProcessorStats>
|
|
603
|
+
|
|
574
604
|
export type ShardSearchPipelineStats = {
|
|
575
605
|
pipelines?: Record<string, ShardSearchPipelinePerPipelineStats>;
|
|
606
|
+
system_generated_factories?: ShardSearchPipelineSystemGeneratedFactories;
|
|
607
|
+
system_generated_processors?: ShardSearchPipelineSystemGeneratedProcessors;
|
|
576
608
|
total_request?: ShardSearchPipelineOperationStats;
|
|
577
609
|
total_response?: ShardSearchPipelineOperationStats;
|
|
578
610
|
}
|
|
579
611
|
|
|
612
|
+
export type ShardSearchPipelineSystemGeneratedFactories = {
|
|
613
|
+
request_processor_factories?: ShardSearchPipelineFactoryStatsByType[];
|
|
614
|
+
response_processor_factories?: ShardSearchPipelineFactoryStatsByType[];
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type ShardSearchPipelineSystemGeneratedProcessors = {
|
|
618
|
+
request_processors?: ShardSearchPipelineProcessorStatsByName[];
|
|
619
|
+
response_processors?: ShardSearchPipelineProcessorStatsByName[];
|
|
620
|
+
}
|
|
621
|
+
|
|
580
622
|
export type ShardSegmentReplicationBackpressureStats = {
|
|
581
623
|
total_rejected_requests?: number;
|
|
582
624
|
}
|
|
583
625
|
|
|
584
626
|
export type ShardTaskCancellationStats = {
|
|
585
627
|
search_shard_task?: ShardTaskCancellationStatsDetail;
|
|
628
|
+
search_task?: ShardTaskCancellationStatsDetail;
|
|
586
629
|
}
|
|
587
630
|
|
|
588
631
|
export type ShardTaskCancellationStatsDetail = {
|
|
@@ -635,6 +678,12 @@ export type Stats = {
|
|
|
635
678
|
weighted_routing?: ShardWeightedRoutingStats;
|
|
636
679
|
}
|
|
637
680
|
|
|
681
|
+
export type StatusCounterStats = {
|
|
682
|
+
success?: number;
|
|
683
|
+
system_failure?: number;
|
|
684
|
+
user_error?: number;
|
|
685
|
+
}
|
|
686
|
+
|
|
638
687
|
export type ThreadCount = {
|
|
639
688
|
active?: number;
|
|
640
689
|
completed?: number;
|
|
@@ -15,17 +15,6 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
export type ErrorResponse = {
|
|
19
|
-
reason: string;
|
|
20
|
-
root_cause: RootCause[];
|
|
21
|
-
type: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type NotFoundResponse = {
|
|
25
|
-
error: ErrorResponse;
|
|
26
|
-
status: number;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
18
|
export type ObservabilityObject = {
|
|
30
19
|
createdTimeMs?: number;
|
|
31
20
|
lastUpdatedTimeMs?: number;
|
|
@@ -56,11 +45,6 @@ export type QueryFilter = {
|
|
|
56
45
|
query: string;
|
|
57
46
|
}
|
|
58
47
|
|
|
59
|
-
export type RootCause = {
|
|
60
|
-
reason: string;
|
|
61
|
-
type: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
48
|
export type SavedQuery = {
|
|
65
49
|
description: string;
|
|
66
50
|
name: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
export type ResponseFormat = 'cost' | 'csv' | 'extended' | 'jdbc' | 'json' | 'raw' | 'simple' | 'standard' | 'viz' | 'yaml'
|
|
19
|
+
|
|
@@ -38,10 +38,6 @@ export type DataSourceConfiguration = {
|
|
|
38
38
|
|
|
39
39
|
export type DataSourceList = DataSource[]
|
|
40
40
|
|
|
41
|
-
export type DataSourceNotFound = {
|
|
42
|
-
error: ErrorResponse;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
41
|
export type DataSourceRetrieve = {
|
|
46
42
|
allowedRoles?: string[];
|
|
47
43
|
configuration?: DataSourceConfiguration;
|
|
@@ -53,19 +49,3 @@ export type DataSourceRetrieve = {
|
|
|
53
49
|
status: string;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
|
-
export type Error = {
|
|
57
|
-
reason: string;
|
|
58
|
-
root_cause: RootCause[];
|
|
59
|
-
type: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type ErrorResponse = {
|
|
63
|
-
error?: Error;
|
|
64
|
-
status?: number;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export type RootCause = {
|
|
68
|
-
reason: string;
|
|
69
|
-
type: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
@@ -19,6 +19,7 @@ import * as Common from './_common'
|
|
|
19
19
|
export type AutoFollowStats = {
|
|
20
20
|
failed_indices?: string[];
|
|
21
21
|
last_execution_time?: number;
|
|
22
|
+
leader_alias?: string;
|
|
22
23
|
name?: string;
|
|
23
24
|
num_failed_leader_calls?: number;
|
|
24
25
|
num_failed_start_replication?: number;
|
|
@@ -110,6 +111,8 @@ export type Replication = {
|
|
|
110
111
|
use_roles?: UseRoles;
|
|
111
112
|
}
|
|
112
113
|
|
|
114
|
+
export type ReplicationStatus = 'BOOTSTRAPPING' | 'PAUSED' | 'REPLICATION NOT IN PROGRESS' | 'RUNNING' | 'SYNCING'
|
|
115
|
+
|
|
113
116
|
export type SettingsBody = {
|
|
114
117
|
index?: IndexSchema;
|
|
115
118
|
}
|
|
@@ -119,7 +122,7 @@ export type Status = {
|
|
|
119
122
|
leader_alias?: Common.IndexAlias;
|
|
120
123
|
leader_index?: Common.IndexName;
|
|
121
124
|
reason?: string;
|
|
122
|
-
status?:
|
|
125
|
+
status?: ReplicationStatus;
|
|
123
126
|
syncing_details?: SyncingDetails;
|
|
124
127
|
}
|
|
125
128
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import * as Common from './_common'
|
|
18
|
+
import * as Indices_Common from './indices._common'
|
|
18
19
|
|
|
19
20
|
export type Cron = {
|
|
20
21
|
expression?: string;
|
|
@@ -88,6 +89,7 @@ export type Rollup = {
|
|
|
88
89
|
schema_version?: number;
|
|
89
90
|
source_index?: string;
|
|
90
91
|
target_index?: string;
|
|
92
|
+
target_index_settings?: Indices_Common.IndexSettings;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
export type RollupEntity = {
|
|
@@ -16,6 +16,21 @@
|
|
|
16
16
|
|
|
17
17
|
import * as Common_QueryDsl from './_common.query_dsl'
|
|
18
18
|
|
|
19
|
+
export type AgenticContextResponseProcessor = {
|
|
20
|
+
agent_steps_summary?: boolean;
|
|
21
|
+
description?: string;
|
|
22
|
+
dsl_query?: boolean;
|
|
23
|
+
ignore_failure?: boolean;
|
|
24
|
+
tag?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AgenticQueryTranslatorRequestProcessor = {
|
|
28
|
+
agent_id: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
ignore_failure?: boolean;
|
|
31
|
+
tag?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
19
34
|
export type CollapseResponseProcessor = {
|
|
20
35
|
context_prefix?: string;
|
|
21
36
|
description?: string;
|
|
@@ -31,6 +46,18 @@ export type FilterQueryRequestProcessor = {
|
|
|
31
46
|
tag?: string;
|
|
32
47
|
}
|
|
33
48
|
|
|
49
|
+
export type MLInferenceRequestProcessor = {
|
|
50
|
+
description?: string;
|
|
51
|
+
function_name?: string;
|
|
52
|
+
ignore_failure?: boolean;
|
|
53
|
+
input_map?: Record<string, string>[];
|
|
54
|
+
model_config?: Record<string, any>;
|
|
55
|
+
model_id: string;
|
|
56
|
+
model_input?: string;
|
|
57
|
+
output_map?: Record<string, string>[];
|
|
58
|
+
tag?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
34
61
|
export type MLOpenSearchReranker = {
|
|
35
62
|
model_id: string;
|
|
36
63
|
}
|
|
@@ -73,6 +100,8 @@ export type PersonalizeSearchRankingResponseProcessor = {
|
|
|
73
100
|
|
|
74
101
|
export type PhaseResultsProcessor = {
|
|
75
102
|
'normalization-processor': NormalizationPhaseResultsProcessor;
|
|
103
|
+
} | {
|
|
104
|
+
'score-ranker-processor': ScoreRankerPhaseResultsProcessor;
|
|
76
105
|
}
|
|
77
106
|
|
|
78
107
|
export type RenameFieldResponseProcessor = {
|
|
@@ -84,6 +113,8 @@ export type RenameFieldResponseProcessor = {
|
|
|
84
113
|
}
|
|
85
114
|
|
|
86
115
|
export type RequestProcessor = {
|
|
116
|
+
agentic_query_translator: AgenticQueryTranslatorRequestProcessor;
|
|
117
|
+
} | {
|
|
87
118
|
filter_query: FilterQueryRequestProcessor;
|
|
88
119
|
} | {
|
|
89
120
|
neural_query_enricher: NeuralQueryEnricherRequestProcessor;
|
|
@@ -91,6 +122,8 @@ export type RequestProcessor = {
|
|
|
91
122
|
script: SearchScriptRequestProcessor;
|
|
92
123
|
} | {
|
|
93
124
|
oversample: OversampleRequestProcessor;
|
|
125
|
+
} | {
|
|
126
|
+
ml_inference: MLInferenceRequestProcessor;
|
|
94
127
|
}
|
|
95
128
|
|
|
96
129
|
export type RerankContext = {
|
|
@@ -106,6 +139,8 @@ export type RerankResponseProcessor = {
|
|
|
106
139
|
}
|
|
107
140
|
|
|
108
141
|
export type ResponseProcessor = {
|
|
142
|
+
agentic_context: AgenticContextResponseProcessor;
|
|
143
|
+
} | {
|
|
109
144
|
personalize_search_ranking: PersonalizeSearchRankingResponseProcessor;
|
|
110
145
|
} | {
|
|
111
146
|
retrieval_augmented_generation: RetrievalAugmentedGenerationResponseProcessor;
|
|
@@ -133,10 +168,14 @@ export type RetrievalAugmentedGenerationResponseProcessor = {
|
|
|
133
168
|
}
|
|
134
169
|
|
|
135
170
|
export type ScoreCombination = {
|
|
136
|
-
parameters?:
|
|
171
|
+
parameters?: ScoreCombinationParameters;
|
|
137
172
|
technique?: ScoreCombinationTechnique;
|
|
138
173
|
}
|
|
139
174
|
|
|
175
|
+
export type ScoreCombinationParameters = {
|
|
176
|
+
weights?: number[];
|
|
177
|
+
}
|
|
178
|
+
|
|
140
179
|
export type ScoreCombinationTechnique = 'arithmetic_mean' | 'geometric_mean' | 'harmonic_mean'
|
|
141
180
|
|
|
142
181
|
export type ScoreNormalization = {
|
|
@@ -145,9 +184,21 @@ export type ScoreNormalization = {
|
|
|
145
184
|
|
|
146
185
|
export type ScoreNormalizationTechnique = 'l2' | 'min_max'
|
|
147
186
|
|
|
187
|
+
export type ScoreRankerCombination = {
|
|
188
|
+
rank_constant?: number;
|
|
189
|
+
technique: ScoreRankerCombinationTechnique;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type ScoreRankerCombinationTechnique = 'rrf'
|
|
193
|
+
|
|
194
|
+
export type ScoreRankerPhaseResultsProcessor = {
|
|
195
|
+
combination: ScoreRankerCombination;
|
|
196
|
+
}
|
|
197
|
+
|
|
148
198
|
export type SearchPipelineMap = Record<string, SearchPipelineStructure>
|
|
149
199
|
|
|
150
200
|
export type SearchPipelineStructure = {
|
|
201
|
+
description?: string;
|
|
151
202
|
phase_results_processors?: PhaseResultsProcessor[];
|
|
152
203
|
request_processors?: RequestProcessor[];
|
|
153
204
|
response_processors?: ResponseProcessor[];
|