mixpeek 0.81.65 → 0.81.67

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.
@@ -92,7 +92,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
92
92
  * Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
93
93
  * @summary Upload a custom model
94
94
  * @param {string} namespaceId
95
- * @param {string} file Model archive (.tar.gz)
95
+ * @param {File} file Model archive (.tar.gz)
96
96
  * @param {string} name Model name
97
97
  * @param {string} version Model version
98
98
  * @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
@@ -104,7 +104,7 @@ export declare const CustomModelsApiAxiosParamCreator: (configuration?: Configur
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- uploadModelNamespaces: (namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
107
+ uploadModelNamespaces: (namespaceId: string, file: File, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
108
  };
109
109
  /**
110
110
  * CustomModelsApi - functional programming interface
@@ -177,7 +177,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
177
177
  * Upload custom model weights to the namespace. **Requirements:** - Organization must be on Enterprise tier **Supported Model Formats:** - `safetensors`: SafeTensors format (recommended for transformers) - `onnx`: ONNX Runtime format - `pytorch`: PyTorch state_dict or TorchScript - `huggingface`: HuggingFace model directory **Base Images (auto-selected based on format):** - `mixpeek/serve-gpu:latest`: For safetensors, pytorch, huggingface (includes torch, transformers) - `mixpeek/serve-minimal:latest`: For ONNX (includes onnxruntime only) **Important:** Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
178
178
  * @summary Upload a custom model
179
179
  * @param {string} namespaceId
180
- * @param {string} file Model archive (.tar.gz)
180
+ * @param {File} file Model archive (.tar.gz)
181
181
  * @param {string} name Model name
182
182
  * @param {string} version Model version
183
183
  * @param {UploadModelNamespacesModelFormatEnum} modelFormat Model format
@@ -189,7 +189,7 @@ export declare const CustomModelsApiFp: (configuration?: Configuration) => {
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- uploadModelNamespaces(namespaceId: string, file: string, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelUploadResponse>>;
192
+ uploadModelNamespaces(namespaceId: string, file: File, name: string, version: string, modelFormat: UploadModelNamespacesModelFormatEnum, framework?: string, taskType?: string, numCpus?: number, numGpus?: number, memoryGb?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelUploadResponse>>;
193
193
  };
194
194
  /**
195
195
  * CustomModelsApi - factory interface
@@ -402,10 +402,10 @@ export interface CustomModelsApiUploadModelNamespacesRequest {
402
402
  readonly namespaceId: string;
403
403
  /**
404
404
  * Model archive (.tar.gz)
405
- * @type {string}
405
+ * @type {File}
406
406
  * @memberof CustomModelsApiUploadModelNamespaces
407
407
  */
408
- readonly file: string;
408
+ readonly file: File;
409
409
  /**
410
410
  * Model name
411
411
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"custom-models-api.d.ts","sourceRoot":"","sources":["../../api/custom-models-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,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAE5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAMxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD;;;GAGG;AACH,eAAO,MAAM,gCAAgC,GAAa,gBAAgB,aAAa;IAE/E;;;;;;;OAOG;yCACwC,MAAM,WAAW,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA8B9H;;;;;;;OAOG;yCACwC,MAAM,WAAW,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA8B9H;;;;;;;OAOG;6CAC4C,MAAM,WAAW,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA8BlI;;;;;;;;OAQG;4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AC,EAAE,qBAAqB;CAG/H;AAED;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;;CAKvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC"}
@@ -24,20 +24,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
24
24
  /**
25
25
  * Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
26
26
  * @summary Apply Manifest
27
- * @param {string} manifestFile YAML manifest file
27
+ * @param {File} manifestFile YAML manifest file
28
28
  * @param {boolean} [dryRun] Validate only, don\&#39;t create resources
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
31
31
  */
32
- applyManifest: (manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ applyManifest: (manifestFile: File, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
34
  * Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
35
35
  * @summary Diff Manifest
36
- * @param {string} manifestFile YAML manifest file
36
+ * @param {File} manifestFile YAML manifest file
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
39
39
  */
40
- diffManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ diffManifest: (manifestFile: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
42
  * Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
43
43
  * @summary Export Manifest Get
@@ -69,20 +69,20 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
69
69
  /**
70
70
  * Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
71
71
  * @summary Lint Manifest
72
- * @param {string} manifestFile YAML manifest file
72
+ * @param {File} manifestFile YAML manifest file
73
73
  * @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
74
74
  * @param {*} [options] Override http request option.
75
75
  * @throws {RequiredError}
76
76
  */
77
- lintManifest: (manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
+ lintManifest: (manifestFile: File, skipRules?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
78
  /**
79
79
  * Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
80
80
  * @summary Validate Manifest
81
- * @param {string} manifestFile YAML manifest file
81
+ * @param {File} manifestFile YAML manifest file
82
82
  * @param {*} [options] Override http request option.
83
83
  * @throws {RequiredError}
84
84
  */
85
- validateManifest: (manifestFile: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
+ validateManifest: (manifestFile: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
86
  };
87
87
  /**
88
88
  * ManifestApi - functional programming interface
@@ -92,20 +92,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
92
92
  /**
93
93
  * Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
94
94
  * @summary Apply Manifest
95
- * @param {string} manifestFile YAML manifest file
95
+ * @param {File} manifestFile YAML manifest file
96
96
  * @param {boolean} [dryRun] Validate only, don\&#39;t create resources
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
99
99
  */
100
- applyManifest(manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
100
+ applyManifest(manifestFile: File, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
101
101
  /**
102
102
  * Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
103
103
  * @summary Diff Manifest
104
- * @param {string} manifestFile YAML manifest file
104
+ * @param {File} manifestFile YAML manifest file
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
107
107
  */
108
- diffManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiffResult>>;
108
+ diffManifest(manifestFile: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiffResult>>;
109
109
  /**
110
110
  * Export current resources to a YAML manifest. Exports all resources (or a specific namespace) to a YAML file that can be version-controlled and re-applied to another environment. **Features:** - Resource IDs are converted to human-readable names - Secret values are replaced with placeholder references (`${{ secrets.NAME }}`) - Output is formatted for readability and git-friendliness **Note:** You must configure actual secrets before applying the exported manifest to a new environment. **Example:** ```bash # Export all resources curl /v1/manifest/export \\ -H \"Authorization: Bearer $API_KEY\" \\ -o mixpeek.yaml # Export specific namespace curl \"/v1/manifest/export?namespace_id=ns_abc123\" \\ -H \"Authorization: Bearer $API_KEY\" \\ -o namespace.yaml ```
111
111
  * @summary Export Manifest Get
@@ -137,20 +137,20 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
137
137
  /**
138
138
  * Lint a YAML manifest for best practices and potential issues. Goes beyond basic validation to provide actionable suggestions for improving your manifest configuration. This endpoint is designed for AI agents and developers who want to optimize their Mixpeek setup. **Lint Rules:** - `UNUSED_EXTRACTOR`: Feature extractor defined but not used by any collection - `UNUSED_COLLECTION`: Collection not referenced by any retriever - `MISSING_INPUT_SCHEMA`: Retriever uses templates but has no input_schema - `MISSING_CACHE_CONFIG`: Retriever without caching (especially with LLM stages) - `SUBOPTIMAL_STAGE_ORDER`: Filter stages after expensive operations - `DUPLICATE_FEATURE_URI`: Same feature searched multiple times - `MISSING_DESCRIPTION`: Resources without descriptions - `NO_SEARCH_STAGE`: Retriever with no search stages - `EXTRACTOR_NOT_IN_NAMESPACE`: Collection uses extractor not in namespace - `MISSING_SECRET`: Secret reference not configured **Severity Levels:** - `error`: Must be fixed before applying - `warning`: Best practice violation, should be fixed - `info`: Suggestion for improvement **Example:** ```bash curl -X POST /v1/manifest/lint \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Response includes actionable suggestions:** ```json { \"valid\": true, \"results\": [ { \"code\": \"MISSING_CACHE_CONFIG\", \"severity\": \"warning\", \"message\": \"Retriever \'product_search\' has no cache configuration\", \"location\": \"retrievers[0]\", \"suggestion\": \"Add cache_config to improve performance\", \"fix_example\": \"cache_config:\\n enabled: true\\n ttl_seconds: 3600\" } ], \"summary\": {\"error\": 0, \"warning\": 1, \"info\": 0} } ```
139
139
  * @summary Lint Manifest
140
- * @param {string} manifestFile YAML manifest file
140
+ * @param {File} manifestFile YAML manifest file
141
141
  * @param {Array<string>} [skipRules] Rule codes to skip (e.g., MISSING_DESCRIPTION)
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- lintManifest(manifestFile: string, skipRules?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LintResponse>>;
145
+ lintManifest(manifestFile: File, skipRules?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LintResponse>>;
146
146
  /**
147
147
  * Validate a YAML manifest without applying. Checks: - YAML syntax validity - Schema validation against manifest models - Cross-resource reference validation - Dependency resolution (no circular dependencies) - Secret reference existence Returns detailed validation results including: - Resource counts by type - Missing secrets that need to be configured - Validation errors and warnings **Example:** ```bash curl -X POST /v1/manifest/validate \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
148
148
  * @summary Validate Manifest
149
- * @param {string} manifestFile YAML manifest file
149
+ * @param {File} manifestFile YAML manifest file
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
- validateManifest(manifestFile: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateResult>>;
153
+ validateManifest(manifestFile: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateResult>>;
154
154
  };
155
155
  /**
156
156
  * ManifestApi - factory interface
@@ -222,10 +222,10 @@ export declare const ManifestApiFactory: (configuration?: Configuration, basePat
222
222
  export interface ManifestApiApplyManifestRequest {
223
223
  /**
224
224
  * YAML manifest file
225
- * @type {string}
225
+ * @type {File}
226
226
  * @memberof ManifestApiApplyManifest
227
227
  */
228
- readonly manifestFile: string;
228
+ readonly manifestFile: File;
229
229
  /**
230
230
  * Validate only, don\&#39;t create resources
231
231
  * @type {boolean}
@@ -241,10 +241,10 @@ export interface ManifestApiApplyManifestRequest {
241
241
  export interface ManifestApiDiffManifestRequest {
242
242
  /**
243
243
  * YAML manifest file
244
- * @type {string}
244
+ * @type {File}
245
245
  * @memberof ManifestApiDiffManifest
246
246
  */
247
- readonly manifestFile: string;
247
+ readonly manifestFile: File;
248
248
  }
249
249
  /**
250
250
  * Request parameters for exportManifestGet operation in ManifestApi.
@@ -317,10 +317,10 @@ export interface ManifestApiGenerateManifestRequest {
317
317
  export interface ManifestApiLintManifestRequest {
318
318
  /**
319
319
  * YAML manifest file
320
- * @type {string}
320
+ * @type {File}
321
321
  * @memberof ManifestApiLintManifest
322
322
  */
323
- readonly manifestFile: string;
323
+ readonly manifestFile: File;
324
324
  /**
325
325
  * Rule codes to skip (e.g., MISSING_DESCRIPTION)
326
326
  * @type {Array<string>}
@@ -336,10 +336,10 @@ export interface ManifestApiLintManifestRequest {
336
336
  export interface ManifestApiValidateManifestRequest {
337
337
  /**
338
338
  * YAML manifest file
339
- * @type {string}
339
+ * @type {File}
340
340
  * @memberof ManifestApiValidateManifest
341
341
  */
342
- readonly manifestFile: string;
342
+ readonly manifestFile: File;
343
343
  }
344
344
  /**
345
345
  * ManifestApi - object-oriented interface
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-api.d.ts","sourceRoot":"","sources":["../../api/manifest-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa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AC,iBAAiB,GAAE,oCAAyC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvH;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI9G;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGjH"}
@@ -14,12 +14,15 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CloneTaxonomyRequest } from '../models';
16
16
  import type { CloneTaxonomyResponse } from '../models';
17
+ import type { CreateNodeFromDocumentsRequest } from '../models';
18
+ import type { CreateTaxonomyFromDocumentsRequest } from '../models';
17
19
  import type { CreateTaxonomyRequest } from '../models';
18
20
  import type { JoinResponse } from '../models';
19
21
  import type { ListTaxonomiesRequest } from '../models';
20
22
  import type { ListTaxonomiesResponse } from '../models';
21
23
  import type { PatchTaxonomyRequest } from '../models';
22
24
  import type { Payload } from '../models';
25
+ import type { TaxonomyNodeFromDocumentsResponse } from '../models';
23
26
  import type { TaxonomyResponse } from '../models';
24
27
  /**
25
28
  * TaxonomiesApi - axios parameter creator
@@ -35,6 +38,23 @@ export declare const TaxonomiesApiAxiosParamCreator: (configuration?: Configurat
35
38
  * @throws {RequiredError}
36
39
  */
37
40
  cloneTaxonomyTaxonomies: (taxonomyIdentifier: string, cloneTaxonomyRequest: CloneTaxonomyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
43
+ * @summary Create a taxonomy from a document selection (one gesture)
44
+ * @param {CreateTaxonomyFromDocumentsRequest} createTaxonomyFromDocumentsRequest
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ createTaxonomyFromDocumentsTaxonomies: (createTaxonomyFromDocumentsRequest: CreateTaxonomyFromDocumentsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
+ /**
50
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
51
+ * @summary Add a taxonomy node derived from a document selection
52
+ * @param {string} taxonomyIdentifier Taxonomy ID or name
53
+ * @param {CreateNodeFromDocumentsRequest} createNodeFromDocumentsRequest
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ createTaxonomyNodeFromDocumentsTaxonomies: (taxonomyIdentifier: string, createNodeFromDocumentsRequest: CreateNodeFromDocumentsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
58
  /**
39
59
  * Create a taxonomy and return the created resource.
40
60
  * @summary Create Taxonomy
@@ -141,6 +161,23 @@ export declare const TaxonomiesApiFp: (configuration?: Configuration) => {
141
161
  * @throws {RequiredError}
142
162
  */
143
163
  cloneTaxonomyTaxonomies(taxonomyIdentifier: string, cloneTaxonomyRequest: CloneTaxonomyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneTaxonomyResponse>>;
164
+ /**
165
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
166
+ * @summary Create a taxonomy from a document selection (one gesture)
167
+ * @param {CreateTaxonomyFromDocumentsRequest} createTaxonomyFromDocumentsRequest
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ createTaxonomyFromDocumentsTaxonomies(createTaxonomyFromDocumentsRequest: CreateTaxonomyFromDocumentsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxonomyNodeFromDocumentsResponse>>;
172
+ /**
173
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
174
+ * @summary Add a taxonomy node derived from a document selection
175
+ * @param {string} taxonomyIdentifier Taxonomy ID or name
176
+ * @param {CreateNodeFromDocumentsRequest} createNodeFromDocumentsRequest
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ createTaxonomyNodeFromDocumentsTaxonomies(taxonomyIdentifier: string, createNodeFromDocumentsRequest: CreateNodeFromDocumentsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxonomyNodeFromDocumentsResponse>>;
144
181
  /**
145
182
  * Create a taxonomy and return the created resource.
146
183
  * @summary Create Taxonomy
@@ -246,6 +283,22 @@ export declare const TaxonomiesApiFactory: (configuration?: Configuration, baseP
246
283
  * @throws {RequiredError}
247
284
  */
248
285
  cloneTaxonomyTaxonomies(requestParameters: TaxonomiesApiCloneTaxonomyTaxonomiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<CloneTaxonomyResponse>;
286
+ /**
287
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
288
+ * @summary Create a taxonomy from a document selection (one gesture)
289
+ * @param {TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ createTaxonomyFromDocumentsTaxonomies(requestParameters: TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaxonomyNodeFromDocumentsResponse>;
294
+ /**
295
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
296
+ * @summary Add a taxonomy node derived from a document selection
297
+ * @param {TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ createTaxonomyNodeFromDocumentsTaxonomies(requestParameters: TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaxonomyNodeFromDocumentsResponse>;
249
302
  /**
250
303
  * Create a taxonomy and return the created resource.
251
304
  * @summary Create Taxonomy
@@ -338,6 +391,38 @@ export interface TaxonomiesApiCloneTaxonomyTaxonomiesRequest {
338
391
  */
339
392
  readonly cloneTaxonomyRequest: CloneTaxonomyRequest;
340
393
  }
394
+ /**
395
+ * Request parameters for createTaxonomyFromDocumentsTaxonomies operation in TaxonomiesApi.
396
+ * @export
397
+ * @interface TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest
398
+ */
399
+ export interface TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest {
400
+ /**
401
+ *
402
+ * @type {CreateTaxonomyFromDocumentsRequest}
403
+ * @memberof TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomies
404
+ */
405
+ readonly createTaxonomyFromDocumentsRequest: CreateTaxonomyFromDocumentsRequest;
406
+ }
407
+ /**
408
+ * Request parameters for createTaxonomyNodeFromDocumentsTaxonomies operation in TaxonomiesApi.
409
+ * @export
410
+ * @interface TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest
411
+ */
412
+ export interface TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest {
413
+ /**
414
+ * Taxonomy ID or name
415
+ * @type {string}
416
+ * @memberof TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomies
417
+ */
418
+ readonly taxonomyIdentifier: string;
419
+ /**
420
+ *
421
+ * @type {CreateNodeFromDocumentsRequest}
422
+ * @memberof TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomies
423
+ */
424
+ readonly createNodeFromDocumentsRequest: CreateNodeFromDocumentsRequest;
425
+ }
341
426
  /**
342
427
  * Request parameters for createTaxonomyTaxonomies operation in TaxonomiesApi.
343
428
  * @export
@@ -575,6 +660,24 @@ export declare class TaxonomiesApi extends BaseAPI {
575
660
  * @memberof TaxonomiesApi
576
661
  */
577
662
  cloneTaxonomyTaxonomies(requestParameters: TaxonomiesApiCloneTaxonomyTaxonomiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneTaxonomyResponse, any, {}>>;
663
+ /**
664
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
665
+ * @summary Create a taxonomy from a document selection (one gesture)
666
+ * @param {TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ * @memberof TaxonomiesApi
670
+ */
671
+ createTaxonomyFromDocumentsTaxonomies(requestParameters: TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxonomyNodeFromDocumentsResponse, any, {}>>;
672
+ /**
673
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
674
+ * @summary Add a taxonomy node derived from a document selection
675
+ * @param {TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ * @memberof TaxonomiesApi
679
+ */
680
+ createTaxonomyNodeFromDocumentsTaxonomies(requestParameters: TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxonomyNodeFromDocumentsResponse, any, {}>>;
578
681
  /**
579
682
  * Create a taxonomy and return the created resource.
580
683
  * @summary Create Taxonomy
@@ -1 +1 @@
1
- {"version":3,"file":"taxonomies-api.d.ts","sourceRoot":"","sources":["../../api/taxonomies-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,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,KAAK,EAA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8B,CAAC,iBAAiB,EAAE,kDAAkD,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI5I;;;;;;;OAOG;IACI,uBAAuB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGjI"}
package/dist/index.js CHANGED
@@ -16728,6 +16728,64 @@ var TaxonomiesApiAxiosParamCreator = function(configuration) {
16728
16728
  options: localVarRequestOptions
16729
16729
  };
16730
16730
  },
16731
+ /**
16732
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
16733
+ * @summary Create a taxonomy from a document selection (one gesture)
16734
+ * @param {CreateTaxonomyFromDocumentsRequest} createTaxonomyFromDocumentsRequest
16735
+ * @param {*} [options] Override http request option.
16736
+ * @throws {RequiredError}
16737
+ */
16738
+ createTaxonomyFromDocumentsTaxonomies: async (createTaxonomyFromDocumentsRequest, options = {}) => {
16739
+ assertParamExists("createTaxonomyFromDocumentsTaxonomies", "createTaxonomyFromDocumentsRequest", createTaxonomyFromDocumentsRequest);
16740
+ const localVarPath = `/v1/taxonomies/from-documents`;
16741
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16742
+ let baseOptions;
16743
+ if (configuration) {
16744
+ baseOptions = configuration.baseOptions;
16745
+ }
16746
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
16747
+ const localVarHeaderParameter = {};
16748
+ const localVarQueryParameter = {};
16749
+ localVarHeaderParameter["Content-Type"] = "application/json";
16750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16752
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16753
+ localVarRequestOptions.data = serializeDataIfNeeded(createTaxonomyFromDocumentsRequest, localVarRequestOptions, configuration);
16754
+ return {
16755
+ url: toPathString(localVarUrlObj),
16756
+ options: localVarRequestOptions
16757
+ };
16758
+ },
16759
+ /**
16760
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
16761
+ * @summary Add a taxonomy node derived from a document selection
16762
+ * @param {string} taxonomyIdentifier Taxonomy ID or name
16763
+ * @param {CreateNodeFromDocumentsRequest} createNodeFromDocumentsRequest
16764
+ * @param {*} [options] Override http request option.
16765
+ * @throws {RequiredError}
16766
+ */
16767
+ createTaxonomyNodeFromDocumentsTaxonomies: async (taxonomyIdentifier, createNodeFromDocumentsRequest, options = {}) => {
16768
+ assertParamExists("createTaxonomyNodeFromDocumentsTaxonomies", "taxonomyIdentifier", taxonomyIdentifier);
16769
+ assertParamExists("createTaxonomyNodeFromDocumentsTaxonomies", "createNodeFromDocumentsRequest", createNodeFromDocumentsRequest);
16770
+ const localVarPath = `/v1/taxonomies/{taxonomy_identifier}/nodes/from-documents`.replace(`{${"taxonomy_identifier"}}`, encodeURIComponent(String(taxonomyIdentifier)));
16771
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16772
+ let baseOptions;
16773
+ if (configuration) {
16774
+ baseOptions = configuration.baseOptions;
16775
+ }
16776
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
16777
+ const localVarHeaderParameter = {};
16778
+ const localVarQueryParameter = {};
16779
+ localVarHeaderParameter["Content-Type"] = "application/json";
16780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16782
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
16783
+ localVarRequestOptions.data = serializeDataIfNeeded(createNodeFromDocumentsRequest, localVarRequestOptions, configuration);
16784
+ return {
16785
+ url: toPathString(localVarUrlObj),
16786
+ options: localVarRequestOptions
16787
+ };
16788
+ },
16731
16789
  /**
16732
16790
  * Create a taxonomy and return the created resource.
16733
16791
  * @summary Create Taxonomy
@@ -17053,6 +17111,33 @@ var TaxonomiesApiFp = function(configuration) {
17053
17111
  const localVarOperationServerBasePath = operationServerMap["TaxonomiesApi.cloneTaxonomyTaxonomies"]?.[localVarOperationServerIndex]?.url;
17054
17112
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
17055
17113
  },
17114
+ /**
17115
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
17116
+ * @summary Create a taxonomy from a document selection (one gesture)
17117
+ * @param {CreateTaxonomyFromDocumentsRequest} createTaxonomyFromDocumentsRequest
17118
+ * @param {*} [options] Override http request option.
17119
+ * @throws {RequiredError}
17120
+ */
17121
+ async createTaxonomyFromDocumentsTaxonomies(createTaxonomyFromDocumentsRequest, options) {
17122
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTaxonomyFromDocumentsTaxonomies(createTaxonomyFromDocumentsRequest, options);
17123
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17124
+ const localVarOperationServerBasePath = operationServerMap["TaxonomiesApi.createTaxonomyFromDocumentsTaxonomies"]?.[localVarOperationServerIndex]?.url;
17125
+ return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
17126
+ },
17127
+ /**
17128
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
17129
+ * @summary Add a taxonomy node derived from a document selection
17130
+ * @param {string} taxonomyIdentifier Taxonomy ID or name
17131
+ * @param {CreateNodeFromDocumentsRequest} createNodeFromDocumentsRequest
17132
+ * @param {*} [options] Override http request option.
17133
+ * @throws {RequiredError}
17134
+ */
17135
+ async createTaxonomyNodeFromDocumentsTaxonomies(taxonomyIdentifier, createNodeFromDocumentsRequest, options) {
17136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTaxonomyNodeFromDocumentsTaxonomies(taxonomyIdentifier, createNodeFromDocumentsRequest, options);
17137
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17138
+ const localVarOperationServerBasePath = operationServerMap["TaxonomiesApi.createTaxonomyNodeFromDocumentsTaxonomies"]?.[localVarOperationServerIndex]?.url;
17139
+ return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
17140
+ },
17056
17141
  /**
17057
17142
  * Create a taxonomy and return the created resource.
17058
17143
  * @summary Create Taxonomy
@@ -17201,6 +17286,28 @@ var TaxonomiesApi = class extends BaseAPI {
17201
17286
  cloneTaxonomyTaxonomies(requestParameters, options) {
17202
17287
  return TaxonomiesApiFp(this.configuration).cloneTaxonomyTaxonomies(requestParameters.taxonomyIdentifier, requestParameters.cloneTaxonomyRequest, options).then((request) => request(this.axios, this.basePath));
17203
17288
  }
17289
+ /**
17290
+ * Promote a document selection (e.g. a lasso/cluster selection in the cluster visualization) into a NEW flat taxonomy in one call. Creates, in order: 1. a **node collection** mirroring the selection\'s vector index (same vector name, dimensions, and feature_uri — no re-embedding, no GPU work), 2. a **vector-search retriever** over it, 3. the **flat taxonomy** wired to both (input_mappings map an incoming document\'s stored embedding onto the retriever), 4. the **first node**: a document whose anchor vector is the centroid of the referenced documents\' stored vectors, labeled `node_label`. Documents enriched through the taxonomy afterwards are labeled with the nearest node\'s `label`. To add more nodes later, use `POST /v1/taxonomies/{taxonomy_id}/nodes/from-documents`. Resources created before a failing step are cleaned up best-effort.
17291
+ * @summary Create a taxonomy from a document selection (one gesture)
17292
+ * @param {TaxonomiesApiCreateTaxonomyFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
17293
+ * @param {*} [options] Override http request option.
17294
+ * @throws {RequiredError}
17295
+ * @memberof TaxonomiesApi
17296
+ */
17297
+ createTaxonomyFromDocumentsTaxonomies(requestParameters, options) {
17298
+ return TaxonomiesApiFp(this.configuration).createTaxonomyFromDocumentsTaxonomies(requestParameters.createTaxonomyFromDocumentsRequest, options).then((request) => request(this.axios, this.basePath));
17299
+ }
17300
+ /**
17301
+ * Add a node to an existing **flat** taxonomy from a document selection. The node is an ordinary document in the taxonomy\'s node (source) collection: its anchor vector is the **centroid of the referenced documents\' stored vectors** and its `label` is `node_label`. Future documents enriched through this taxonomy are labeled with the nearest node\'s `label`. Only stored vectors are read — no re-embedding or GPU work. Documents that can\'t contribute (missing, no matching vector) are skipped and reported in `documents_skipped`; the call fails only when NO document contributes. Hierarchical taxonomies are not supported here (their nodes are whole collections) — the error points you to the flat-taxonomy path.
17302
+ * @summary Add a taxonomy node derived from a document selection
17303
+ * @param {TaxonomiesApiCreateTaxonomyNodeFromDocumentsTaxonomiesRequest} requestParameters Request parameters.
17304
+ * @param {*} [options] Override http request option.
17305
+ * @throws {RequiredError}
17306
+ * @memberof TaxonomiesApi
17307
+ */
17308
+ createTaxonomyNodeFromDocumentsTaxonomies(requestParameters, options) {
17309
+ return TaxonomiesApiFp(this.configuration).createTaxonomyNodeFromDocumentsTaxonomies(requestParameters.taxonomyIdentifier, requestParameters.createNodeFromDocumentsRequest, options).then((request) => request(this.axios, this.basePath));
17310
+ }
17204
17311
  /**
17205
17312
  * Create a taxonomy and return the created resource.
17206
17313
  * @summary Create Taxonomy