mixpeek 0.81.134 → 0.81.136
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/dist/api/retrievers-api.d.ts +10 -2
- package/dist/api/retrievers-api.d.ts.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -78,10 +78,11 @@ export declare const RetrieversApiAxiosParamCreator: (configuration?: Configurat
|
|
|
78
78
|
* @param {boolean} [returnVectors] Include vector embeddings in result documents. Also accepted as a body field — if either source is true, vectors are returned.
|
|
79
79
|
* @param {boolean} [explain] Return the inline `explain_plan` (per-stage timings + optimization summary) in the response. Also accepted as a body field — if either source is true, the plan is included.
|
|
80
80
|
* @param {boolean} [includeLegacyResults] DEPRECATED. Restore the legacy `results` alias (a byte-for-byte copy of `documents`). Off by default — `results` previously duplicated the entire document array in every response (~half the payload). Prefer `documents`; use this only as a temporary migration shim.
|
|
81
|
+
* @param {boolean} [skipCache] Bypass the execute/stage cache read for this request (a fresh execution; the result is still written to cache). Also accepted as a body field — if either source is true, the cache is skipped.
|
|
81
82
|
* @param {*} [options] Override http request option.
|
|
82
83
|
* @throws {RequiredError}
|
|
83
84
|
*/
|
|
84
|
-
executeRetriever: (retrieverId: string, executeRetrieverRequest: ExecuteRetrieverRequest, returnPresignedUrls?: boolean, returnVectors?: boolean, explain?: boolean, includeLegacyResults?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
executeRetriever: (retrieverId: string, executeRetrieverRequest: ExecuteRetrieverRequest, returnPresignedUrls?: boolean, returnVectors?: boolean, explain?: boolean, includeLegacyResults?: boolean, skipCache?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
86
|
/**
|
|
86
87
|
* Get a detailed execution plan for a retriever without actually executing it. Similar to MongoDB\'s explain plan or SQL\'s EXPLAIN command, this endpoint helps you understand performance characteristics, identify bottlenecks, estimate costs, and troubleshoot retrieval issues before running expensive queries. **What This Returns:** - Stage-by-stage execution plan (AFTER automatic optimizations) - Estimated costs (credits + time per stage) - Document flow projections (input/output counts per stage) - Efficiency metrics (selectivity ratios, cache likelihood) - Bottleneck identification (slowest/most expensive stages) - Optimization details (transformations applied by the optimizer) - Performance warnings and improvement suggestions **Key Features:** - **Cost Estimation**: See how many credits and milliseconds each stage will consume - **Bottleneck Detection**: Identify which stages dominate execution time - **Optimization Transparency**: Understand how your pipeline was optimized - **Cache Analysis**: See which stages are likely to hit cache - **Accuracy Troubleshooting**: Analyze stage efficiency and document flow - **Latency Analysis**: Break down estimated duration by stage **Important:** The execution_plan shows OPTIMIZED stages (after automatic transformations like filter push-down, stage fusion, and grouping optimization). Check optimization_details to understand what changed from your original configuration. **Use Cases:** - Debug slow retrievers by identifying bottleneck stages - Estimate costs before running expensive queries - Understand how the optimizer transformed your pipeline - Troubleshoot accuracy issues by analyzing stage selectivity - Compare different retriever configurations - Plan budget allocation for production workloads **Example Response:** ```json { \"retriever_id\": \"ret_abc123\", \"retriever_name\": \"product_search\", \"execution_plan\": [ { \"stage_index\": 0, \"stage_name\": \"attribute_filter\", \"stage_type\": \"filter\", \"estimated_input\": 10000, \"estimated_output\": 5000, \"estimated_efficiency\": 0.5, \"estimated_cost_credits\": 0.01, \"estimated_duration_ms\": 20, \"cache_likely\": true, \"optimization_notes\": [\"Pushed down from stage 2\"], \"warnings\": [] }, { \"stage_index\": 1, \"stage_name\": \"semantic_search\", \"stage_type\": \"filter\", \"estimated_input\": 5000, \"estimated_output\": 100, \"estimated_efficiency\": 0.02, \"estimated_cost_credits\": 0.5, \"estimated_duration_ms\": 200, \"cache_likely\": false, \"optimization_notes\": [], \"warnings\": [\"High cost stage - consider reducing limit\"] } ], \"estimated_cost\": { \"total_credits\": 0.51, \"total_duration_ms\": 220 }, \"bottleneck_stages\": [\"semantic_search\"], \"optimization_applied\": true, \"optimization_details\": { \"original_stage_count\": 3, \"optimized_stage_count\": 2, \"optimization_time_ms\": 8.2, \"stage_reduction_pct\": 33.3, \"decisions\": [ { \"rule_type\": \"push_down_filters\", \"applied\": true, \"reason\": \"Moved attribute_filter before semantic_search to reduce search scope\" } ] }, \"optimization_suggestions\": [ { \"type\": \"reduce_limit\", \"stage\": \"semantic_search\", \"message\": \"Consider reducing limit to improve latency\" } ] } ```
|
|
87
88
|
* @summary Explain Retriever Execution Plan
|
|
@@ -228,10 +229,11 @@ export declare const RetrieversApiFp: (configuration?: Configuration) => {
|
|
|
228
229
|
* @param {boolean} [returnVectors] Include vector embeddings in result documents. Also accepted as a body field — if either source is true, vectors are returned.
|
|
229
230
|
* @param {boolean} [explain] Return the inline `explain_plan` (per-stage timings + optimization summary) in the response. Also accepted as a body field — if either source is true, the plan is included.
|
|
230
231
|
* @param {boolean} [includeLegacyResults] DEPRECATED. Restore the legacy `results` alias (a byte-for-byte copy of `documents`). Off by default — `results` previously duplicated the entire document array in every response (~half the payload). Prefer `documents`; use this only as a temporary migration shim.
|
|
232
|
+
* @param {boolean} [skipCache] Bypass the execute/stage cache read for this request (a fresh execution; the result is still written to cache). Also accepted as a body field — if either source is true, the cache is skipped.
|
|
231
233
|
* @param {*} [options] Override http request option.
|
|
232
234
|
* @throws {RequiredError}
|
|
233
235
|
*/
|
|
234
|
-
executeRetriever(retrieverId: string, executeRetrieverRequest: ExecuteRetrieverRequest, returnPresignedUrls?: boolean, returnVectors?: boolean, explain?: boolean, includeLegacyResults?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
236
|
+
executeRetriever(retrieverId: string, executeRetrieverRequest: ExecuteRetrieverRequest, returnPresignedUrls?: boolean, returnVectors?: boolean, explain?: boolean, includeLegacyResults?: boolean, skipCache?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
235
237
|
/**
|
|
236
238
|
* Get a detailed execution plan for a retriever without actually executing it. Similar to MongoDB\'s explain plan or SQL\'s EXPLAIN command, this endpoint helps you understand performance characteristics, identify bottlenecks, estimate costs, and troubleshoot retrieval issues before running expensive queries. **What This Returns:** - Stage-by-stage execution plan (AFTER automatic optimizations) - Estimated costs (credits + time per stage) - Document flow projections (input/output counts per stage) - Efficiency metrics (selectivity ratios, cache likelihood) - Bottleneck identification (slowest/most expensive stages) - Optimization details (transformations applied by the optimizer) - Performance warnings and improvement suggestions **Key Features:** - **Cost Estimation**: See how many credits and milliseconds each stage will consume - **Bottleneck Detection**: Identify which stages dominate execution time - **Optimization Transparency**: Understand how your pipeline was optimized - **Cache Analysis**: See which stages are likely to hit cache - **Accuracy Troubleshooting**: Analyze stage efficiency and document flow - **Latency Analysis**: Break down estimated duration by stage **Important:** The execution_plan shows OPTIMIZED stages (after automatic transformations like filter push-down, stage fusion, and grouping optimization). Check optimization_details to understand what changed from your original configuration. **Use Cases:** - Debug slow retrievers by identifying bottleneck stages - Estimate costs before running expensive queries - Understand how the optimizer transformed your pipeline - Troubleshoot accuracy issues by analyzing stage selectivity - Compare different retriever configurations - Plan budget allocation for production workloads **Example Response:** ```json { \"retriever_id\": \"ret_abc123\", \"retriever_name\": \"product_search\", \"execution_plan\": [ { \"stage_index\": 0, \"stage_name\": \"attribute_filter\", \"stage_type\": \"filter\", \"estimated_input\": 10000, \"estimated_output\": 5000, \"estimated_efficiency\": 0.5, \"estimated_cost_credits\": 0.01, \"estimated_duration_ms\": 20, \"cache_likely\": true, \"optimization_notes\": [\"Pushed down from stage 2\"], \"warnings\": [] }, { \"stage_index\": 1, \"stage_name\": \"semantic_search\", \"stage_type\": \"filter\", \"estimated_input\": 5000, \"estimated_output\": 100, \"estimated_efficiency\": 0.02, \"estimated_cost_credits\": 0.5, \"estimated_duration_ms\": 200, \"cache_likely\": false, \"optimization_notes\": [], \"warnings\": [\"High cost stage - consider reducing limit\"] } ], \"estimated_cost\": { \"total_credits\": 0.51, \"total_duration_ms\": 220 }, \"bottleneck_stages\": [\"semantic_search\"], \"optimization_applied\": true, \"optimization_details\": { \"original_stage_count\": 3, \"optimized_stage_count\": 2, \"optimization_time_ms\": 8.2, \"stage_reduction_pct\": 33.3, \"decisions\": [ { \"rule_type\": \"push_down_filters\", \"applied\": true, \"reason\": \"Moved attribute_filter before semantic_search to reduce search scope\" } ] }, \"optimization_suggestions\": [ { \"type\": \"reduce_limit\", \"stage\": \"semantic_search\", \"message\": \"Consider reducing limit to improve latency\" } ] } ```
|
|
237
239
|
* @summary Explain Retriever Execution Plan
|
|
@@ -572,6 +574,12 @@ export interface RetrieversApiExecuteRetrieverRequest {
|
|
|
572
574
|
* @memberof RetrieversApiExecuteRetriever
|
|
573
575
|
*/
|
|
574
576
|
readonly includeLegacyResults?: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* Bypass the execute/stage cache read for this request (a fresh execution; the result is still written to cache). Also accepted as a body field — if either source is true, the cache is skipped.
|
|
579
|
+
* @type {boolean}
|
|
580
|
+
* @memberof RetrieversApiExecuteRetriever
|
|
581
|
+
*/
|
|
582
|
+
readonly skipCache?: boolean;
|
|
575
583
|
}
|
|
576
584
|
/**
|
|
577
585
|
* Request parameters for explainRetrieverExecutionIdExecute operation in RetrieversApi.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrievers-api.d.ts","sourceRoot":"","sources":["../../api/retrievers-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAEtH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAExD,O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C,EAAE,qBAAqB;;;IAIxI;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,gCAAgC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIxG;;;;;;;OAOG;IACI,wBAAwB,CAAC,iBAAiB,EAAE,4CAA4C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIhI;;;;;;;OAOG;IACI,cAAc,CAAC,iBAAiB,GAAE,kCAAuC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIjH;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,qCAA0C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvH;;;;;;;OAOG;IACI,cAAc,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAG/G"}
|
package/dist/index.js
CHANGED
|
@@ -15849,10 +15849,11 @@ var RetrieversApiAxiosParamCreator = function(configuration) {
|
|
|
15849
15849
|
* @param {boolean} [returnVectors] Include vector embeddings in result documents. Also accepted as a body field — if either source is true, vectors are returned.
|
|
15850
15850
|
* @param {boolean} [explain] Return the inline `explain_plan` (per-stage timings + optimization summary) in the response. Also accepted as a body field — if either source is true, the plan is included.
|
|
15851
15851
|
* @param {boolean} [includeLegacyResults] DEPRECATED. Restore the legacy `results` alias (a byte-for-byte copy of `documents`). Off by default — `results` previously duplicated the entire document array in every response (~half the payload). Prefer `documents`; use this only as a temporary migration shim.
|
|
15852
|
+
* @param {boolean} [skipCache] Bypass the execute/stage cache read for this request (a fresh execution; the result is still written to cache). Also accepted as a body field — if either source is true, the cache is skipped.
|
|
15852
15853
|
* @param {*} [options] Override http request option.
|
|
15853
15854
|
* @throws {RequiredError}
|
|
15854
15855
|
*/
|
|
15855
|
-
executeRetriever: async (retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, options = {}) => {
|
|
15856
|
+
executeRetriever: async (retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, skipCache, options = {}) => {
|
|
15856
15857
|
assertParamExists("executeRetriever", "retrieverId", retrieverId);
|
|
15857
15858
|
assertParamExists("executeRetriever", "executeRetrieverRequest", executeRetrieverRequest);
|
|
15858
15859
|
const localVarPath = `/v1/retrievers/{retriever_id}/execute`.replace(`{${"retriever_id"}}`, encodeURIComponent(String(retrieverId)));
|
|
@@ -15876,6 +15877,9 @@ var RetrieversApiAxiosParamCreator = function(configuration) {
|
|
|
15876
15877
|
if (includeLegacyResults !== void 0) {
|
|
15877
15878
|
localVarQueryParameter["include_legacy_results"] = includeLegacyResults;
|
|
15878
15879
|
}
|
|
15880
|
+
if (skipCache !== void 0) {
|
|
15881
|
+
localVarQueryParameter["skip_cache"] = skipCache;
|
|
15882
|
+
}
|
|
15879
15883
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
15880
15884
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15881
15885
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -16278,11 +16282,12 @@ var RetrieversApiFp = function(configuration) {
|
|
|
16278
16282
|
* @param {boolean} [returnVectors] Include vector embeddings in result documents. Also accepted as a body field — if either source is true, vectors are returned.
|
|
16279
16283
|
* @param {boolean} [explain] Return the inline `explain_plan` (per-stage timings + optimization summary) in the response. Also accepted as a body field — if either source is true, the plan is included.
|
|
16280
16284
|
* @param {boolean} [includeLegacyResults] DEPRECATED. Restore the legacy `results` alias (a byte-for-byte copy of `documents`). Off by default — `results` previously duplicated the entire document array in every response (~half the payload). Prefer `documents`; use this only as a temporary migration shim.
|
|
16285
|
+
* @param {boolean} [skipCache] Bypass the execute/stage cache read for this request (a fresh execution; the result is still written to cache). Also accepted as a body field — if either source is true, the cache is skipped.
|
|
16281
16286
|
* @param {*} [options] Override http request option.
|
|
16282
16287
|
* @throws {RequiredError}
|
|
16283
16288
|
*/
|
|
16284
|
-
async executeRetriever(retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, options) {
|
|
16285
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRetriever(retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, options);
|
|
16289
|
+
async executeRetriever(retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, skipCache, options) {
|
|
16290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRetriever(retrieverId, executeRetrieverRequest, returnPresignedUrls, returnVectors, explain, includeLegacyResults, skipCache, options);
|
|
16286
16291
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16287
16292
|
const localVarOperationServerBasePath = operationServerMap["RetrieversApi.executeRetriever"]?.[localVarOperationServerIndex]?.url;
|
|
16288
16293
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -16483,7 +16488,7 @@ var RetrieversApi = class extends BaseAPI {
|
|
|
16483
16488
|
* @memberof RetrieversApi
|
|
16484
16489
|
*/
|
|
16485
16490
|
executeRetriever(requestParameters, options) {
|
|
16486
|
-
return RetrieversApiFp(this.configuration).executeRetriever(requestParameters.retrieverId, requestParameters.executeRetrieverRequest, requestParameters.returnPresignedUrls, requestParameters.returnVectors, requestParameters.explain, requestParameters.includeLegacyResults, options).then((request) => request(this.axios, this.basePath));
|
|
16491
|
+
return RetrieversApiFp(this.configuration).executeRetriever(requestParameters.retrieverId, requestParameters.executeRetrieverRequest, requestParameters.returnPresignedUrls, requestParameters.returnVectors, requestParameters.explain, requestParameters.includeLegacyResults, requestParameters.skipCache, options).then((request) => request(this.axios, this.basePath));
|
|
16487
16492
|
}
|
|
16488
16493
|
/**
|
|
16489
16494
|
* Get a detailed execution plan for a retriever without actually executing it. Similar to MongoDB\'s explain plan or SQL\'s EXPLAIN command, this endpoint helps you understand performance characteristics, identify bottlenecks, estimate costs, and troubleshoot retrieval issues before running expensive queries. **What This Returns:** - Stage-by-stage execution plan (AFTER automatic optimizations) - Estimated costs (credits + time per stage) - Document flow projections (input/output counts per stage) - Efficiency metrics (selectivity ratios, cache likelihood) - Bottleneck identification (slowest/most expensive stages) - Optimization details (transformations applied by the optimizer) - Performance warnings and improvement suggestions **Key Features:** - **Cost Estimation**: See how many credits and milliseconds each stage will consume - **Bottleneck Detection**: Identify which stages dominate execution time - **Optimization Transparency**: Understand how your pipeline was optimized - **Cache Analysis**: See which stages are likely to hit cache - **Accuracy Troubleshooting**: Analyze stage efficiency and document flow - **Latency Analysis**: Break down estimated duration by stage **Important:** The execution_plan shows OPTIMIZED stages (after automatic transformations like filter push-down, stage fusion, and grouping optimization). Check optimization_details to understand what changed from your original configuration. **Use Cases:** - Debug slow retrievers by identifying bottleneck stages - Estimate costs before running expensive queries - Understand how the optimizer transformed your pipeline - Troubleshoot accuracy issues by analyzing stage selectivity - Compare different retriever configurations - Plan budget allocation for production workloads **Example Response:** ```json { \"retriever_id\": \"ret_abc123\", \"retriever_name\": \"product_search\", \"execution_plan\": [ { \"stage_index\": 0, \"stage_name\": \"attribute_filter\", \"stage_type\": \"filter\", \"estimated_input\": 10000, \"estimated_output\": 5000, \"estimated_efficiency\": 0.5, \"estimated_cost_credits\": 0.01, \"estimated_duration_ms\": 20, \"cache_likely\": true, \"optimization_notes\": [\"Pushed down from stage 2\"], \"warnings\": [] }, { \"stage_index\": 1, \"stage_name\": \"semantic_search\", \"stage_type\": \"filter\", \"estimated_input\": 5000, \"estimated_output\": 100, \"estimated_efficiency\": 0.02, \"estimated_cost_credits\": 0.5, \"estimated_duration_ms\": 200, \"cache_likely\": false, \"optimization_notes\": [], \"warnings\": [\"High cost stage - consider reducing limit\"] } ], \"estimated_cost\": { \"total_credits\": 0.51, \"total_duration_ms\": 220 }, \"bottleneck_stages\": [\"semantic_search\"], \"optimization_applied\": true, \"optimization_details\": { \"original_stage_count\": 3, \"optimized_stage_count\": 2, \"optimization_time_ms\": 8.2, \"stage_reduction_pct\": 33.3, \"decisions\": [ { \"rule_type\": \"push_down_filters\", \"applied\": true, \"reason\": \"Moved attribute_filter before semantic_search to reduce search scope\" } ] }, \"optimization_suggestions\": [ { \"type\": \"reduce_limit\", \"stage\": \"semantic_search\", \"message\": \"Consider reducing limit to improve latency\" } ] } ```
|