@alien_intelligence/data-api-client 1.2.5 → 1.4.8-dev
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/{apis → src/apis}/AdminApi.d.ts +1 -1
- package/dist/{apis → src/apis}/AdminApi.js +1 -1
- package/dist/{apis → src/apis}/DatasetsApi.d.ts +37 -6
- package/dist/{apis → src/apis}/DatasetsApi.js +37 -3
- package/dist/{apis → src/apis}/DefaultApi.d.ts +1 -1
- package/dist/{apis → src/apis}/DefaultApi.js +1 -1
- package/dist/{apis → src/apis}/EmbeddingsApi.d.ts +1 -1
- package/dist/{apis → src/apis}/EmbeddingsApi.js +1 -1
- package/dist/{apis → src/apis}/EntriesApi.d.ts +35 -6
- package/dist/{apis → src/apis}/EntriesApi.js +34 -3
- package/dist/{apis → src/apis}/HealthApi.d.ts +1 -1
- package/dist/{apis → src/apis}/HealthApi.js +1 -1
- package/dist/{apis → src/apis}/PipelinesApi.d.ts +20 -20
- package/dist/{apis → src/apis}/PipelinesApi.js +11 -11
- package/dist/{apis → src/apis}/SearchApi.d.ts +1 -1
- package/dist/{apis → src/apis}/SearchApi.js +1 -1
- package/dist/{apis → src/apis}/SyncApi.d.ts +1 -1
- package/dist/{apis → src/apis}/SyncApi.js +1 -1
- package/dist/{apis → src/apis}/WebhooksApi.d.ts +1 -1
- package/dist/{apis → src/apis}/WebhooksApi.js +1 -1
- package/dist/{apis → src/apis}/WeightsApi.d.ts +1 -1
- package/dist/{apis → src/apis}/WeightsApi.js +1 -1
- package/dist/{models → src/models}/ArtifactInputConfig.d.ts +1 -1
- package/dist/{models → src/models}/ArtifactInputConfig.js +1 -1
- package/dist/{models → src/models}/BatchContentRequest.d.ts +1 -1
- package/dist/{models → src/models}/BatchContentRequest.js +1 -1
- package/dist/{models → src/models}/BatchContentResponse.d.ts +1 -1
- package/dist/{models → src/models}/BatchContentResponse.js +1 -1
- package/dist/{models → src/models}/BatchGetEntriesRequest.d.ts +1 -1
- package/dist/{models → src/models}/BatchGetEntriesRequest.js +1 -1
- package/dist/{models → src/models}/BatchGetEntriesResponse.d.ts +1 -1
- package/dist/{models → src/models}/BatchGetEntriesResponse.js +1 -1
- package/dist/{models → src/models}/ChunkSearchResponse.d.ts +1 -1
- package/dist/{models → src/models}/ChunkSearchResponse.js +1 -1
- package/dist/{models → src/models}/ChunkSearchResult.d.ts +1 -1
- package/dist/{models → src/models}/ChunkSearchResult.js +1 -1
- package/dist/{models → src/models}/CollectionInfo.d.ts +1 -1
- package/dist/{models → src/models}/CollectionInfo.js +1 -1
- package/dist/{models → src/models}/ComponentArtifact.d.ts +1 -1
- package/dist/{models → src/models}/ComponentArtifact.js +1 -1
- package/dist/{models → src/models}/ComponentListResponse.d.ts +1 -1
- package/dist/{models → src/models}/ComponentListResponse.js +1 -1
- package/dist/{models → src/models}/ComponentMetadata.d.ts +1 -1
- package/dist/{models → src/models}/ComponentMetadata.js +1 -1
- package/dist/{models → src/models}/ComponentParameter.d.ts +1 -1
- package/dist/{models → src/models}/ComponentParameter.js +1 -1
- package/dist/{models → src/models}/Dataset.d.ts +1 -1
- package/dist/{models → src/models}/Dataset.js +1 -1
- package/dist/{models → src/models}/DatasetCreateRequest.d.ts +1 -1
- package/dist/{models → src/models}/DatasetCreateRequest.js +1 -1
- package/dist/{models → src/models}/DatasetListResponse.d.ts +1 -1
- package/dist/{models → src/models}/DatasetListResponse.js +1 -1
- package/dist/src/models/DatasetPipelineConfig.d.ts +62 -0
- package/dist/{models/DatasetPipelineConfigInput.js → src/models/DatasetPipelineConfig.js} +16 -16
- package/dist/{models → src/models}/DatasetResponse.d.ts +1 -1
- package/dist/{models → src/models}/DatasetResponse.js +1 -1
- package/dist/{models → src/models}/DatasetSchemaDefinition.d.ts +1 -1
- package/dist/{models → src/models}/DatasetSchemaDefinition.js +1 -1
- package/dist/{models → src/models}/DatasetSchemaOriginal.d.ts +1 -1
- package/dist/{models → src/models}/DatasetSchemaOriginal.js +1 -1
- package/dist/{models → src/models}/DatasetSchemaProcessed.d.ts +1 -1
- package/dist/{models → src/models}/DatasetSchemaProcessed.js +1 -1
- package/dist/{models → src/models}/DatasetSchemaProcessing.d.ts +1 -1
- package/dist/{models → src/models}/DatasetSchemaProcessing.js +1 -1
- package/dist/{models → src/models}/DatasetType.d.ts +1 -1
- package/dist/{models → src/models}/DatasetType.js +1 -1
- package/dist/src/models/DatasetUpdateRequest.d.ts +51 -0
- package/dist/src/models/DatasetUpdateRequest.js +55 -0
- package/dist/{models → src/models}/DatasetUpdateSchemaRequest.d.ts +2 -8
- package/dist/{models → src/models}/DatasetUpdateSchemaRequest.js +1 -5
- package/dist/{models → src/models}/Default.d.ts +1 -1
- package/dist/{models → src/models}/Default.js +1 -1
- package/dist/{models → src/models}/EmbeddingProvider.d.ts +1 -1
- package/dist/{models → src/models}/EmbeddingProvider.js +1 -1
- package/dist/{models → src/models}/EmbeddingResponse.d.ts +1 -1
- package/dist/{models → src/models}/EmbeddingResponse.js +1 -1
- package/dist/{models → src/models}/Entry.d.ts +7 -1
- package/dist/{models → src/models}/Entry.js +3 -1
- package/dist/{models → src/models}/EntryContentResponse.d.ts +1 -1
- package/dist/{models → src/models}/EntryContentResponse.js +1 -1
- package/dist/{models → src/models}/EntryCreateRequest.d.ts +1 -1
- package/dist/{models → src/models}/EntryCreateRequest.js +1 -1
- package/dist/{models → src/models}/EntryCreateResponse.d.ts +1 -1
- package/dist/{models → src/models}/EntryCreateResponse.js +1 -1
- package/dist/{models → src/models}/EntryManifest.d.ts +1 -1
- package/dist/{models → src/models}/EntryManifest.js +1 -1
- package/dist/{models → src/models}/EntrySearchResponse.d.ts +1 -1
- package/dist/{models → src/models}/EntrySearchResponse.js +1 -1
- package/dist/{models → src/models}/EntrySearchResult.d.ts +1 -1
- package/dist/{models → src/models}/EntrySearchResult.js +1 -1
- package/dist/{models → src/models}/EntryStatus.d.ts +1 -1
- package/dist/{models → src/models}/EntryStatus.js +1 -1
- package/dist/{models → src/models}/EntryUpdateRequest.d.ts +7 -1
- package/dist/{models → src/models}/EntryUpdateRequest.js +3 -1
- package/dist/{models → src/models}/EntryWithContent.d.ts +7 -1
- package/dist/{models → src/models}/EntryWithContent.js +3 -1
- package/dist/{models → src/models}/FileMetadata.d.ts +1 -1
- package/dist/{models → src/models}/FileMetadata.js +1 -1
- package/dist/{models → src/models}/GenerateEmbeddingsRequest.d.ts +1 -1
- package/dist/{models → src/models}/GenerateEmbeddingsRequest.js +1 -1
- package/dist/{models → src/models}/HTTPValidationError.d.ts +1 -1
- package/dist/{models → src/models}/HTTPValidationError.js +1 -1
- package/dist/{models → src/models}/HealthResponse.d.ts +1 -1
- package/dist/{models → src/models}/HealthResponse.js +1 -1
- package/dist/{models → src/models}/KeywordSearchHit.d.ts +8 -27
- package/dist/{models → src/models}/KeywordSearchHit.js +3 -16
- package/dist/{models → src/models}/KeywordSearchRequest.d.ts +10 -1
- package/dist/{models → src/models}/KeywordSearchRequest.js +5 -1
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.d.ts +26 -0
- package/dist/src/models/KeywordSearchRequestMetadataFiltersValue.js +38 -0
- package/dist/{models → src/models}/KeywordSearchResponse.d.ts +1 -1
- package/dist/{models → src/models}/KeywordSearchResponse.js +1 -1
- package/dist/{models → src/models}/ModelInfo.d.ts +1 -1
- package/dist/{models → src/models}/ModelInfo.js +1 -1
- package/dist/src/models/MoveEntryRequest.d.ts +32 -0
- package/dist/src/models/MoveEntryRequest.js +50 -0
- package/dist/src/models/MoveEntryResponse.d.ts +56 -0
- package/dist/src/models/MoveEntryResponse.js +66 -0
- package/dist/{models → src/models}/OriginalManifest.d.ts +1 -1
- package/dist/{models → src/models}/OriginalManifest.js +1 -1
- package/dist/{models → src/models}/PipelineStepConfig.d.ts +1 -1
- package/dist/{models → src/models}/PipelineStepConfig.js +1 -1
- package/dist/{models → src/models}/PresetListResponse.d.ts +1 -1
- package/dist/{models → src/models}/PresetListResponse.js +1 -1
- package/dist/{models → src/models}/ProcessedManifest.d.ts +1 -1
- package/dist/{models → src/models}/ProcessedManifest.js +1 -1
- package/dist/{models → src/models}/ProcessingManifest.d.ts +1 -1
- package/dist/{models → src/models}/ProcessingManifest.js +1 -1
- package/dist/{models → src/models}/RetryFailedWebhooksResponse.d.ts +1 -1
- package/dist/{models → src/models}/RetryFailedWebhooksResponse.js +1 -1
- package/dist/{models → src/models}/SaveProcessedContentRequest.d.ts +1 -1
- package/dist/{models → src/models}/SaveProcessedContentRequest.js +1 -1
- package/dist/{models → src/models}/SaveProcessedContentResponse.d.ts +1 -1
- package/dist/{models → src/models}/SaveProcessedContentResponse.js +1 -1
- package/dist/{models → src/models}/SearchSnippet.d.ts +1 -1
- package/dist/{models → src/models}/SearchSnippet.js +1 -1
- package/dist/{models → src/models}/SnippetContext.d.ts +1 -1
- package/dist/{models → src/models}/SnippetContext.js +1 -1
- package/dist/{models → src/models}/UploadFileResponse.d.ts +1 -1
- package/dist/{models → src/models}/UploadFileResponse.js +1 -1
- package/dist/{models → src/models}/ValidationError.d.ts +13 -1
- package/dist/{models → src/models}/ValidationError.js +5 -1
- package/dist/{models → src/models}/ValidationErrorLocInner.d.ts +1 -1
- package/dist/{models → src/models}/ValidationErrorLocInner.js +1 -1
- package/dist/{models → src/models}/VectorSearchRequest.d.ts +1 -1
- package/dist/{models → src/models}/VectorSearchRequest.js +1 -1
- package/dist/{models → src/models}/WebhookEndpointCreate.d.ts +1 -1
- package/dist/{models → src/models}/WebhookEndpointCreate.js +1 -1
- package/dist/{models → src/models}/WebhookEndpointResponse.d.ts +1 -1
- package/dist/{models → src/models}/WebhookEndpointResponse.js +1 -1
- package/dist/{models → src/models}/Weight.d.ts +1 -1
- package/dist/{models → src/models}/Weight.js +1 -1
- package/dist/{models → src/models}/WeightListResponse.d.ts +1 -1
- package/dist/{models → src/models}/WeightListResponse.js +1 -1
- package/dist/{models → src/models}/WeightResponse.d.ts +1 -1
- package/dist/{models → src/models}/WeightResponse.js +1 -1
- package/dist/{models → src/models}/WeightType.d.ts +1 -1
- package/dist/{models → src/models}/WeightType.js +1 -1
- package/dist/{models → src/models}/index.d.ts +5 -3
- package/dist/{models → src/models}/index.js +5 -3
- package/dist/{runtime.d.ts → src/runtime.d.ts} +1 -1
- package/dist/{runtime.js → src/runtime.js} +1 -1
- package/package.json +1 -1
- package/src/README.md +46 -0
- package/src/package.json +21 -0
- package/src/{apis → src/apis}/AdminApi.ts +1 -1
- package/src/{apis → src/apis}/DatasetsApi.ts +81 -5
- package/src/{apis → src/apis}/DefaultApi.ts +1 -1
- package/src/{apis → src/apis}/EmbeddingsApi.ts +1 -1
- package/src/{apis → src/apis}/EntriesApi.ts +78 -5
- package/src/{apis → src/apis}/HealthApi.ts +1 -1
- package/src/{apis → src/apis}/PipelinesApi.ts +27 -30
- package/src/{apis → src/apis}/SearchApi.ts +1 -1
- package/src/{apis → src/apis}/SyncApi.ts +1 -1
- package/src/{apis → src/apis}/WebhooksApi.ts +1 -1
- package/src/{apis → src/apis}/WeightsApi.ts +1 -1
- package/src/{models → src/models}/ArtifactInputConfig.ts +1 -1
- package/src/{models → src/models}/BatchContentRequest.ts +1 -1
- package/src/{models → src/models}/BatchContentResponse.ts +1 -1
- package/src/{models → src/models}/BatchGetEntriesRequest.ts +1 -1
- package/src/{models → src/models}/BatchGetEntriesResponse.ts +1 -1
- package/src/{models → src/models}/ChunkSearchResponse.ts +1 -1
- package/src/{models → src/models}/ChunkSearchResult.ts +1 -1
- package/src/{models → src/models}/CollectionInfo.ts +1 -1
- package/src/{models → src/models}/ComponentArtifact.ts +1 -1
- package/src/{models → src/models}/ComponentListResponse.ts +1 -1
- package/src/{models → src/models}/ComponentMetadata.ts +1 -1
- package/src/{models → src/models}/ComponentParameter.ts +1 -1
- package/src/{models → src/models}/Dataset.ts +1 -1
- package/src/{models → src/models}/DatasetCreateRequest.ts +1 -1
- package/src/{models → src/models}/DatasetListResponse.ts +1 -1
- package/src/{models/DatasetPipelineConfigInput.ts → src/models/DatasetPipelineConfig.ts} +18 -18
- package/src/{models → src/models}/DatasetResponse.ts +1 -1
- package/src/{models → src/models}/DatasetSchemaDefinition.ts +1 -1
- package/src/{models → src/models}/DatasetSchemaOriginal.ts +1 -1
- package/src/{models → src/models}/DatasetSchemaProcessed.ts +1 -1
- package/src/{models → src/models}/DatasetSchemaProcessing.ts +1 -1
- package/src/{models → src/models}/DatasetType.ts +1 -1
- package/src/src/models/DatasetUpdateRequest.ts +99 -0
- package/src/{models → src/models}/DatasetUpdateSchemaRequest.ts +2 -11
- package/src/{models → src/models}/Default.ts +1 -1
- package/src/{models → src/models}/EmbeddingProvider.ts +1 -1
- package/src/{models → src/models}/EmbeddingResponse.ts +1 -1
- package/src/{models → src/models}/Entry.ts +9 -1
- package/src/{models → src/models}/EntryContentResponse.ts +1 -1
- package/src/{models → src/models}/EntryCreateRequest.ts +1 -1
- package/src/{models → src/models}/EntryCreateResponse.ts +1 -1
- package/src/{models → src/models}/EntryManifest.ts +1 -1
- package/src/{models → src/models}/EntrySearchResponse.ts +1 -1
- package/src/{models → src/models}/EntrySearchResult.ts +1 -1
- package/src/{models → src/models}/EntryStatus.ts +1 -1
- package/src/{models → src/models}/EntryUpdateRequest.ts +9 -1
- package/src/{models → src/models}/EntryWithContent.ts +9 -1
- package/src/{models → src/models}/FileMetadata.ts +1 -1
- package/src/{models → src/models}/GenerateEmbeddingsRequest.ts +1 -1
- package/src/{models → src/models}/HTTPValidationError.ts +1 -1
- package/src/{models → src/models}/HealthResponse.ts +1 -1
- package/src/{models → src/models}/KeywordSearchHit.ts +9 -43
- package/src/{models → src/models}/KeywordSearchRequest.ts +17 -1
- package/src/src/models/KeywordSearchRequestMetadataFiltersValue.ts +46 -0
- package/src/{models → src/models}/KeywordSearchResponse.ts +1 -1
- package/src/{models → src/models}/ModelInfo.ts +1 -1
- package/src/src/models/MoveEntryRequest.ts +66 -0
- package/src/src/models/MoveEntryResponse.ts +102 -0
- package/src/{models → src/models}/OriginalManifest.ts +1 -1
- package/src/{models → src/models}/PipelineStepConfig.ts +1 -1
- package/src/{models → src/models}/PresetListResponse.ts +1 -1
- package/src/{models → src/models}/ProcessedManifest.ts +1 -1
- package/src/{models → src/models}/ProcessingManifest.ts +1 -1
- package/src/{models → src/models}/RetryFailedWebhooksResponse.ts +1 -1
- package/src/{models → src/models}/SaveProcessedContentRequest.ts +1 -1
- package/src/{models → src/models}/SaveProcessedContentResponse.ts +1 -1
- package/src/{models → src/models}/SearchSnippet.ts +1 -1
- package/src/{models → src/models}/SnippetContext.ts +1 -1
- package/src/{models → src/models}/UploadFileResponse.ts +1 -1
- package/src/{models → src/models}/ValidationError.ts +17 -1
- package/src/{models → src/models}/ValidationErrorLocInner.ts +1 -1
- package/src/{models → src/models}/VectorSearchRequest.ts +1 -1
- package/src/{models → src/models}/WebhookEndpointCreate.ts +1 -1
- package/src/{models → src/models}/WebhookEndpointResponse.ts +1 -1
- package/src/{models → src/models}/Weight.ts +1 -1
- package/src/{models → src/models}/WeightListResponse.ts +1 -1
- package/src/{models → src/models}/WeightResponse.ts +1 -1
- package/src/{models → src/models}/WeightType.ts +1 -1
- package/src/{models → src/models}/index.ts +5 -3
- package/src/{runtime.ts → src/runtime.ts} +1 -1
- package/src/tsconfig.esm.json +7 -0
- package/src/tsconfig.json +16 -0
- package/dist/models/CreateCollectionRequest.d.ts +0 -44
- package/dist/models/CreateCollectionRequest.js +0 -54
- package/dist/models/DatasetPipelineConfigInput.d.ts +0 -62
- package/dist/models/DatasetPipelineConfigOutput.d.ts +0 -62
- package/dist/models/DatasetPipelineConfigOutput.js +0 -65
- package/dist/models/EntryPreview.d.ts +0 -56
- package/dist/models/EntryPreview.js +0 -54
- package/src/models/CreateCollectionRequest.ts +0 -82
- package/src/models/DatasetPipelineConfigOutput.ts +0 -112
- package/src/models/EntryPreview.ts +0 -89
- /package/dist/{apis → src/apis}/index.d.ts +0 -0
- /package/dist/{apis → src/apis}/index.js +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{index.js → src/index.js} +0 -0
- /package/src/{apis → src/apis}/index.ts +0 -0
- /package/src/{index.ts → src/index.ts} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,7 @@ import type {
|
|
|
19
19
|
DatasetCreateRequest,
|
|
20
20
|
DatasetListResponse,
|
|
21
21
|
DatasetResponse,
|
|
22
|
+
DatasetUpdateRequest,
|
|
22
23
|
DatasetUpdateSchemaRequest,
|
|
23
24
|
HTTPValidationError,
|
|
24
25
|
} from '../models/index';
|
|
@@ -31,6 +32,8 @@ import {
|
|
|
31
32
|
DatasetListResponseToJSON,
|
|
32
33
|
DatasetResponseFromJSON,
|
|
33
34
|
DatasetResponseToJSON,
|
|
35
|
+
DatasetUpdateRequestFromJSON,
|
|
36
|
+
DatasetUpdateRequestToJSON,
|
|
34
37
|
DatasetUpdateSchemaRequestFromJSON,
|
|
35
38
|
DatasetUpdateSchemaRequestToJSON,
|
|
36
39
|
HTTPValidationErrorFromJSON,
|
|
@@ -57,12 +60,18 @@ export interface GetDatasetBySlugApiV1DatasetsSlugSlugGetRequest {
|
|
|
57
60
|
export interface ListDatasetsApiV1DatasetsGetRequest {
|
|
58
61
|
limit?: number;
|
|
59
62
|
offset?: number;
|
|
63
|
+
ids?: Array<number> | null;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
export interface SyncDatasetStatsApiV1DatasetsDatasetIdSyncStatsPostRequest {
|
|
63
67
|
datasetId: number;
|
|
64
68
|
}
|
|
65
69
|
|
|
70
|
+
export interface UpdateDatasetApiV1DatasetsDatasetIdPatchRequest {
|
|
71
|
+
datasetId: number;
|
|
72
|
+
datasetUpdateRequest: DatasetUpdateRequest;
|
|
73
|
+
}
|
|
74
|
+
|
|
66
75
|
export interface UpdateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRequest {
|
|
67
76
|
datasetId: number;
|
|
68
77
|
datasetUpdateSchemaRequest: DatasetUpdateSchemaRequest;
|
|
@@ -145,6 +154,7 @@ export interface DatasetsApiInterface {
|
|
|
145
154
|
* @summary List Datasets
|
|
146
155
|
* @param {number} [limit]
|
|
147
156
|
* @param {number} [offset]
|
|
157
|
+
* @param {Array<number>} [ids]
|
|
148
158
|
* @param {*} [options] Override http request option.
|
|
149
159
|
* @throws {RequiredError}
|
|
150
160
|
* @memberof DatasetsApiInterface
|
|
@@ -174,7 +184,24 @@ export interface DatasetsApiInterface {
|
|
|
174
184
|
syncDatasetStatsApiV1DatasetsDatasetIdSyncStatsPost(requestParameters: SyncDatasetStatsApiV1DatasetsDatasetIdSyncStatsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
175
185
|
|
|
176
186
|
/**
|
|
177
|
-
*
|
|
187
|
+
* Partially update dataset metadata. Accepts any combination of: name, slug, description, dataset_type. Fields not provided are left unchanged. Bumps the dataset version atomically.
|
|
188
|
+
* @summary Update Dataset
|
|
189
|
+
* @param {number} datasetId
|
|
190
|
+
* @param {DatasetUpdateRequest} datasetUpdateRequest
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
* @memberof DatasetsApiInterface
|
|
194
|
+
*/
|
|
195
|
+
updateDatasetApiV1DatasetsDatasetIdPatchRaw(requestParameters: UpdateDatasetApiV1DatasetsDatasetIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Partially update dataset metadata. Accepts any combination of: name, slug, description, dataset_type. Fields not provided are left unchanged. Bumps the dataset version atomically.
|
|
199
|
+
* Update Dataset
|
|
200
|
+
*/
|
|
201
|
+
updateDatasetApiV1DatasetsDatasetIdPatch(requestParameters: UpdateDatasetApiV1DatasetsDatasetIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Update dataset schema definition. Called when schema evolves to a new version. The current_schema_version is auto-bumped by incrementing the integer suffix of the current version (e.g., \"v3\" -> \"v4\").
|
|
178
205
|
* @summary Update Dataset Schema
|
|
179
206
|
* @param {number} datasetId
|
|
180
207
|
* @param {DatasetUpdateSchemaRequest} datasetUpdateSchemaRequest
|
|
@@ -185,7 +212,7 @@ export interface DatasetsApiInterface {
|
|
|
185
212
|
updateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRaw(requestParameters: UpdateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>>;
|
|
186
213
|
|
|
187
214
|
/**
|
|
188
|
-
* Update dataset schema definition. Called when schema evolves to a new version.
|
|
215
|
+
* Update dataset schema definition. Called when schema evolves to a new version. The current_schema_version is auto-bumped by incrementing the integer suffix of the current version (e.g., \"v3\" -> \"v4\").
|
|
189
216
|
* Update Dataset Schema
|
|
190
217
|
*/
|
|
191
218
|
updateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatch(requestParameters: UpdateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
|
|
@@ -358,6 +385,10 @@ export class DatasetsApi extends runtime.BaseAPI implements DatasetsApiInterface
|
|
|
358
385
|
queryParameters['offset'] = requestParameters['offset'];
|
|
359
386
|
}
|
|
360
387
|
|
|
388
|
+
if (requestParameters['ids'] != null) {
|
|
389
|
+
queryParameters['ids'] = requestParameters['ids'];
|
|
390
|
+
}
|
|
391
|
+
|
|
361
392
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
362
393
|
|
|
363
394
|
const response = await this.request({
|
|
@@ -414,7 +445,52 @@ export class DatasetsApi extends runtime.BaseAPI implements DatasetsApiInterface
|
|
|
414
445
|
}
|
|
415
446
|
|
|
416
447
|
/**
|
|
417
|
-
*
|
|
448
|
+
* Partially update dataset metadata. Accepts any combination of: name, slug, description, dataset_type. Fields not provided are left unchanged. Bumps the dataset version atomically.
|
|
449
|
+
* Update Dataset
|
|
450
|
+
*/
|
|
451
|
+
async updateDatasetApiV1DatasetsDatasetIdPatchRaw(requestParameters: UpdateDatasetApiV1DatasetsDatasetIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>> {
|
|
452
|
+
if (requestParameters['datasetId'] == null) {
|
|
453
|
+
throw new runtime.RequiredError(
|
|
454
|
+
'datasetId',
|
|
455
|
+
'Required parameter "datasetId" was null or undefined when calling updateDatasetApiV1DatasetsDatasetIdPatch().'
|
|
456
|
+
);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
if (requestParameters['datasetUpdateRequest'] == null) {
|
|
460
|
+
throw new runtime.RequiredError(
|
|
461
|
+
'datasetUpdateRequest',
|
|
462
|
+
'Required parameter "datasetUpdateRequest" was null or undefined when calling updateDatasetApiV1DatasetsDatasetIdPatch().'
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
const queryParameters: any = {};
|
|
467
|
+
|
|
468
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
469
|
+
|
|
470
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
471
|
+
|
|
472
|
+
const response = await this.request({
|
|
473
|
+
path: `/api/v1/datasets/{dataset_id}`.replace(`{${"dataset_id"}}`, encodeURIComponent(String(requestParameters['datasetId']))),
|
|
474
|
+
method: 'PATCH',
|
|
475
|
+
headers: headerParameters,
|
|
476
|
+
query: queryParameters,
|
|
477
|
+
body: DatasetUpdateRequestToJSON(requestParameters['datasetUpdateRequest']),
|
|
478
|
+
}, initOverrides);
|
|
479
|
+
|
|
480
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DatasetFromJSON(jsonValue));
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Partially update dataset metadata. Accepts any combination of: name, slug, description, dataset_type. Fields not provided are left unchanged. Bumps the dataset version atomically.
|
|
485
|
+
* Update Dataset
|
|
486
|
+
*/
|
|
487
|
+
async updateDatasetApiV1DatasetsDatasetIdPatch(requestParameters: UpdateDatasetApiV1DatasetsDatasetIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset> {
|
|
488
|
+
const response = await this.updateDatasetApiV1DatasetsDatasetIdPatchRaw(requestParameters, initOverrides);
|
|
489
|
+
return await response.value();
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Update dataset schema definition. Called when schema evolves to a new version. The current_schema_version is auto-bumped by incrementing the integer suffix of the current version (e.g., \"v3\" -> \"v4\").
|
|
418
494
|
* Update Dataset Schema
|
|
419
495
|
*/
|
|
420
496
|
async updateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRaw(requestParameters: UpdateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>> {
|
|
@@ -450,7 +526,7 @@ export class DatasetsApi extends runtime.BaseAPI implements DatasetsApiInterface
|
|
|
450
526
|
}
|
|
451
527
|
|
|
452
528
|
/**
|
|
453
|
-
* Update dataset schema definition. Called when schema evolves to a new version.
|
|
529
|
+
* Update dataset schema definition. Called when schema evolves to a new version. The current_schema_version is auto-bumped by incrementing the integer suffix of the current version (e.g., \"v3\" -> \"v4\").
|
|
454
530
|
* Update Dataset Schema
|
|
455
531
|
*/
|
|
456
532
|
async updateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatch(requestParameters: UpdateDatasetSchemaApiV1DatasetsDatasetIdSchemaPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset> {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,6 +24,8 @@ import type {
|
|
|
24
24
|
EntryCreateResponse,
|
|
25
25
|
EntryUpdateRequest,
|
|
26
26
|
HTTPValidationError,
|
|
27
|
+
MoveEntryRequest,
|
|
28
|
+
MoveEntryResponse,
|
|
27
29
|
SaveProcessedContentRequest,
|
|
28
30
|
SaveProcessedContentResponse,
|
|
29
31
|
UploadFileResponse,
|
|
@@ -47,6 +49,10 @@ import {
|
|
|
47
49
|
EntryUpdateRequestToJSON,
|
|
48
50
|
HTTPValidationErrorFromJSON,
|
|
49
51
|
HTTPValidationErrorToJSON,
|
|
52
|
+
MoveEntryRequestFromJSON,
|
|
53
|
+
MoveEntryRequestToJSON,
|
|
54
|
+
MoveEntryResponseFromJSON,
|
|
55
|
+
MoveEntryResponseToJSON,
|
|
50
56
|
SaveProcessedContentRequestFromJSON,
|
|
51
57
|
SaveProcessedContentRequestToJSON,
|
|
52
58
|
SaveProcessedContentResponseFromJSON,
|
|
@@ -101,6 +107,11 @@ export interface ListEntriesApiV1EntriesGetRequest {
|
|
|
101
107
|
statusFilter?: string | null;
|
|
102
108
|
}
|
|
103
109
|
|
|
110
|
+
export interface MoveEntryApiV1EntriesEntryIdMovePostRequest {
|
|
111
|
+
entryId: number;
|
|
112
|
+
moveEntryRequest: MoveEntryRequest;
|
|
113
|
+
}
|
|
114
|
+
|
|
104
115
|
export interface SaveProcessedContentApiV1EntriesEntryIdProcessedPostRequest {
|
|
105
116
|
entryId: number;
|
|
106
117
|
saveProcessedContentRequest: SaveProcessedContentRequest;
|
|
@@ -193,7 +204,7 @@ export interface EntriesApiInterface {
|
|
|
193
204
|
deleteEntryApiV1EntriesEntryIdDelete(requestParameters: DeleteEntryApiV1EntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
|
|
194
205
|
|
|
195
206
|
/**
|
|
196
|
-
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section
|
|
207
|
+
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section, ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
|
|
197
208
|
* @summary Download File
|
|
198
209
|
* @param {number} entryId
|
|
199
210
|
* @param {string} [filename]
|
|
@@ -205,7 +216,7 @@ export interface EntriesApiInterface {
|
|
|
205
216
|
downloadFileApiV1EntriesEntryIdDownloadGetRaw(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>>;
|
|
206
217
|
|
|
207
218
|
/**
|
|
208
|
-
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section
|
|
219
|
+
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section, ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
|
|
209
220
|
* Download File
|
|
210
221
|
*/
|
|
211
222
|
downloadFileApiV1EntriesEntryIdDownloadGet(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
@@ -294,6 +305,23 @@ export interface EntriesApiInterface {
|
|
|
294
305
|
*/
|
|
295
306
|
listEntriesApiV1EntriesGet(requestParameters: ListEntriesApiV1EntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: any; }>;
|
|
296
307
|
|
|
308
|
+
/**
|
|
309
|
+
* Move an entry from its current dataset to a different dataset.
|
|
310
|
+
* @summary Move Entry
|
|
311
|
+
* @param {number} entryId
|
|
312
|
+
* @param {MoveEntryRequest} moveEntryRequest
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
* @memberof EntriesApiInterface
|
|
316
|
+
*/
|
|
317
|
+
moveEntryApiV1EntriesEntryIdMovePostRaw(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MoveEntryResponse>>;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Move an entry from its current dataset to a different dataset.
|
|
321
|
+
* Move Entry
|
|
322
|
+
*/
|
|
323
|
+
moveEntryApiV1EntriesEntryIdMovePost(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveEntryResponse>;
|
|
324
|
+
|
|
297
325
|
/**
|
|
298
326
|
* Save processed content for an entry. Called by workers/pipelines after processing.
|
|
299
327
|
* @summary Save Processed Content
|
|
@@ -519,7 +547,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
|
|
|
519
547
|
}
|
|
520
548
|
|
|
521
549
|
/**
|
|
522
|
-
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section
|
|
550
|
+
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section, ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
|
|
523
551
|
* Download File
|
|
524
552
|
*/
|
|
525
553
|
async downloadFileApiV1EntriesEntryIdDownloadGetRaw(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<any>> {
|
|
@@ -557,7 +585,7 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
|
|
|
557
585
|
}
|
|
558
586
|
|
|
559
587
|
/**
|
|
560
|
-
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section
|
|
588
|
+
* Download a file from an entry. Args: entry_id: Entry ID filename: Specific filename (suffix match against S3 key). If omitted, returns the first file in the section. file_type: Manifest section, ``\"original\"`` (default), ``\"processing\"``, or ``\"processed\"`` (figures and other processed outputs).
|
|
561
589
|
* Download File
|
|
562
590
|
*/
|
|
563
591
|
async downloadFileApiV1EntriesEntryIdDownloadGet(requestParameters: DownloadFileApiV1EntriesEntryIdDownloadGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
@@ -770,6 +798,51 @@ export class EntriesApi extends runtime.BaseAPI implements EntriesApiInterface {
|
|
|
770
798
|
return await response.value();
|
|
771
799
|
}
|
|
772
800
|
|
|
801
|
+
/**
|
|
802
|
+
* Move an entry from its current dataset to a different dataset.
|
|
803
|
+
* Move Entry
|
|
804
|
+
*/
|
|
805
|
+
async moveEntryApiV1EntriesEntryIdMovePostRaw(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MoveEntryResponse>> {
|
|
806
|
+
if (requestParameters['entryId'] == null) {
|
|
807
|
+
throw new runtime.RequiredError(
|
|
808
|
+
'entryId',
|
|
809
|
+
'Required parameter "entryId" was null or undefined when calling moveEntryApiV1EntriesEntryIdMovePost().'
|
|
810
|
+
);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
if (requestParameters['moveEntryRequest'] == null) {
|
|
814
|
+
throw new runtime.RequiredError(
|
|
815
|
+
'moveEntryRequest',
|
|
816
|
+
'Required parameter "moveEntryRequest" was null or undefined when calling moveEntryApiV1EntriesEntryIdMovePost().'
|
|
817
|
+
);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
const queryParameters: any = {};
|
|
821
|
+
|
|
822
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
823
|
+
|
|
824
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
825
|
+
|
|
826
|
+
const response = await this.request({
|
|
827
|
+
path: `/api/v1/entries/{entry_id}/move`.replace(`{${"entry_id"}}`, encodeURIComponent(String(requestParameters['entryId']))),
|
|
828
|
+
method: 'POST',
|
|
829
|
+
headers: headerParameters,
|
|
830
|
+
query: queryParameters,
|
|
831
|
+
body: MoveEntryRequestToJSON(requestParameters['moveEntryRequest']),
|
|
832
|
+
}, initOverrides);
|
|
833
|
+
|
|
834
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MoveEntryResponseFromJSON(jsonValue));
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Move an entry from its current dataset to a different dataset.
|
|
839
|
+
* Move Entry
|
|
840
|
+
*/
|
|
841
|
+
async moveEntryApiV1EntriesEntryIdMovePost(requestParameters: MoveEntryApiV1EntriesEntryIdMovePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MoveEntryResponse> {
|
|
842
|
+
const response = await this.moveEntryApiV1EntriesEntryIdMovePostRaw(requestParameters, initOverrides);
|
|
843
|
+
return await response.value();
|
|
844
|
+
}
|
|
845
|
+
|
|
773
846
|
/**
|
|
774
847
|
* Save processed content for an entry. Called by workers/pipelines after processing.
|
|
775
848
|
* Save Processed Content
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,8 +17,7 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
ComponentListResponse,
|
|
19
19
|
Dataset,
|
|
20
|
-
|
|
21
|
-
DatasetPipelineConfigOutput,
|
|
20
|
+
DatasetPipelineConfig,
|
|
22
21
|
HTTPValidationError,
|
|
23
22
|
PresetListResponse,
|
|
24
23
|
} from '../models/index';
|
|
@@ -27,10 +26,8 @@ import {
|
|
|
27
26
|
ComponentListResponseToJSON,
|
|
28
27
|
DatasetFromJSON,
|
|
29
28
|
DatasetToJSON,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DatasetPipelineConfigOutputFromJSON,
|
|
33
|
-
DatasetPipelineConfigOutputToJSON,
|
|
29
|
+
DatasetPipelineConfigFromJSON,
|
|
30
|
+
DatasetPipelineConfigToJSON,
|
|
34
31
|
HTTPValidationErrorFromJSON,
|
|
35
32
|
HTTPValidationErrorToJSON,
|
|
36
33
|
PresetListResponseFromJSON,
|
|
@@ -45,7 +42,7 @@ export interface ApplyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostReques
|
|
|
45
42
|
|
|
46
43
|
export interface ConfigurePipelineApiV1PipelinesDatasetsDatasetIdConfigPatchRequest {
|
|
47
44
|
datasetId: number;
|
|
48
|
-
|
|
45
|
+
datasetPipelineConfig: DatasetPipelineConfig;
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
export interface DisablePipelineApiV1PipelinesDatasetsDatasetIdConfigDeleteRequest {
|
|
@@ -64,7 +61,7 @@ export interface GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetReques
|
|
|
64
61
|
*/
|
|
65
62
|
export interface PipelinesApiInterface {
|
|
66
63
|
/**
|
|
67
|
-
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"
|
|
64
|
+
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"general_purpose\"). You can optionally override parameters for specific steps. Args: dataset_id: Dataset ID preset_name: Name of the preset (e.g., \"general_purpose\") parameters: Optional parameter overrides per step name Example: {\"chunk\": {\"size\": 2048, \"overlap\": 256}} Returns: Updated dataset with pipeline configuration Available Presets: - general_purpose: Process PDF/DOCX files with OCR, figure linking, chunking, embedding, and storage Example: POST /pipelines/datasets/123/apply-preset?preset_name=general_purpose { \"chunk\": {\"size\": 2048, \"overlap\": 256}, \"embed\": {\"batchsize\": 64} }
|
|
68
65
|
* @summary Apply Preset
|
|
69
66
|
* @param {number} datasetId
|
|
70
67
|
* @param {string} presetName
|
|
@@ -76,7 +73,7 @@ export interface PipelinesApiInterface {
|
|
|
76
73
|
applyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRaw(requestParameters: ApplyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>>;
|
|
77
74
|
|
|
78
75
|
/**
|
|
79
|
-
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"
|
|
76
|
+
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"general_purpose\"). You can optionally override parameters for specific steps. Args: dataset_id: Dataset ID preset_name: Name of the preset (e.g., \"general_purpose\") parameters: Optional parameter overrides per step name Example: {\"chunk\": {\"size\": 2048, \"overlap\": 256}} Returns: Updated dataset with pipeline configuration Available Presets: - general_purpose: Process PDF/DOCX files with OCR, figure linking, chunking, embedding, and storage Example: POST /pipelines/datasets/123/apply-preset?preset_name=general_purpose { \"chunk\": {\"size\": 2048, \"overlap\": 256}, \"embed\": {\"batchsize\": 64} }
|
|
80
77
|
* Apply Preset
|
|
81
78
|
*/
|
|
82
79
|
applyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPost(requestParameters: ApplyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset>;
|
|
@@ -85,7 +82,7 @@ export interface PipelinesApiInterface {
|
|
|
85
82
|
* Configure or update the pipeline for a dataset. This sets the pipeline_config JSON that defines which Argo workflow steps to execute when entries are uploaded or manually triggered. Args: dataset_id: Dataset ID config: Complete pipeline configuration (enabled, trigger, steps, timeout) Returns: Updated dataset with pipeline configuration Example: PATCH /pipelines/datasets/123/config { \"enabled\": true, \"trigger\": \"on_upload\", \"timeout\": \"30m\", \"steps\": [ { \"name\": \"ocr\", \"component\": \"mistral-ocr-processor-v1\", \"template\": \"mistral-ocr-processor\", \"parameters\": {}, \"depends\": [], \"consumes\": [] } ] }
|
|
86
83
|
* @summary Configure Pipeline
|
|
87
84
|
* @param {number} datasetId
|
|
88
|
-
* @param {
|
|
85
|
+
* @param {DatasetPipelineConfig} datasetPipelineConfig
|
|
89
86
|
* @param {*} [options] Override http request option.
|
|
90
87
|
* @throws {RequiredError}
|
|
91
88
|
* @memberof PipelinesApiInterface
|
|
@@ -122,16 +119,16 @@ export interface PipelinesApiInterface {
|
|
|
122
119
|
* @throws {RequiredError}
|
|
123
120
|
* @memberof PipelinesApiInterface
|
|
124
121
|
*/
|
|
125
|
-
getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRaw(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
122
|
+
getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRaw(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DatasetPipelineConfig>>;
|
|
126
123
|
|
|
127
124
|
/**
|
|
128
125
|
* Get the current pipeline configuration for a dataset. Returns None if no pipeline is configured. Args: dataset_id: Dataset ID Returns: Pipeline configuration or None
|
|
129
126
|
* Get Pipeline Config
|
|
130
127
|
*/
|
|
131
|
-
getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGet(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
128
|
+
getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGet(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DatasetPipelineConfig>;
|
|
132
129
|
|
|
133
130
|
/**
|
|
134
|
-
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"
|
|
131
|
+
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"general_purpose\": { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\", \"config\": { ... } } }
|
|
135
132
|
* @summary Get Preset Details
|
|
136
133
|
* @param {*} [options] Override http request option.
|
|
137
134
|
* @throws {RequiredError}
|
|
@@ -140,7 +137,7 @@ export interface PipelinesApiInterface {
|
|
|
140
137
|
getPresetDetailsApiV1PipelinesPresetsDetailsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: { [key: string]: any; }; }>>;
|
|
141
138
|
|
|
142
139
|
/**
|
|
143
|
-
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"
|
|
140
|
+
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"general_purpose\": { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\", \"config\": { ... } } }
|
|
144
141
|
* Get Preset Details
|
|
145
142
|
*/
|
|
146
143
|
getPresetDetailsApiV1PipelinesPresetsDetailsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: { [key: string]: any; }; }>;
|
|
@@ -161,7 +158,7 @@ export interface PipelinesApiInterface {
|
|
|
161
158
|
listPipelineComponentsApiV1PipelinesComponentsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComponentListResponse>;
|
|
162
159
|
|
|
163
160
|
/**
|
|
164
|
-
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"
|
|
161
|
+
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\" } ], \"total\": 1 }
|
|
165
162
|
* @summary List Pipeline Presets
|
|
166
163
|
* @param {*} [options] Override http request option.
|
|
167
164
|
* @throws {RequiredError}
|
|
@@ -170,7 +167,7 @@ export interface PipelinesApiInterface {
|
|
|
170
167
|
listPipelinePresetsApiV1PipelinesPresetsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PresetListResponse>>;
|
|
171
168
|
|
|
172
169
|
/**
|
|
173
|
-
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"
|
|
170
|
+
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\" } ], \"total\": 1 }
|
|
174
171
|
* List Pipeline Presets
|
|
175
172
|
*/
|
|
176
173
|
listPipelinePresetsApiV1PipelinesPresetsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PresetListResponse>;
|
|
@@ -183,7 +180,7 @@ export interface PipelinesApiInterface {
|
|
|
183
180
|
export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterface {
|
|
184
181
|
|
|
185
182
|
/**
|
|
186
|
-
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"
|
|
183
|
+
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"general_purpose\"). You can optionally override parameters for specific steps. Args: dataset_id: Dataset ID preset_name: Name of the preset (e.g., \"general_purpose\") parameters: Optional parameter overrides per step name Example: {\"chunk\": {\"size\": 2048, \"overlap\": 256}} Returns: Updated dataset with pipeline configuration Available Presets: - general_purpose: Process PDF/DOCX files with OCR, figure linking, chunking, embedding, and storage Example: POST /pipelines/datasets/123/apply-preset?preset_name=general_purpose { \"chunk\": {\"size\": 2048, \"overlap\": 256}, \"embed\": {\"batchsize\": 64} }
|
|
187
184
|
* Apply Preset
|
|
188
185
|
*/
|
|
189
186
|
async applyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRaw(requestParameters: ApplyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Dataset>> {
|
|
@@ -223,7 +220,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
223
220
|
}
|
|
224
221
|
|
|
225
222
|
/**
|
|
226
|
-
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"
|
|
223
|
+
* Apply a pre-defined pipeline preset to a dataset. Presets provide common pipeline configurations (e.g., \"general_purpose\"). You can optionally override parameters for specific steps. Args: dataset_id: Dataset ID preset_name: Name of the preset (e.g., \"general_purpose\") parameters: Optional parameter overrides per step name Example: {\"chunk\": {\"size\": 2048, \"overlap\": 256}} Returns: Updated dataset with pipeline configuration Available Presets: - general_purpose: Process PDF/DOCX files with OCR, figure linking, chunking, embedding, and storage Example: POST /pipelines/datasets/123/apply-preset?preset_name=general_purpose { \"chunk\": {\"size\": 2048, \"overlap\": 256}, \"embed\": {\"batchsize\": 64} }
|
|
227
224
|
* Apply Preset
|
|
228
225
|
*/
|
|
229
226
|
async applyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPost(requestParameters: ApplyPresetApiV1PipelinesDatasetsDatasetIdApplyPresetPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Dataset> {
|
|
@@ -243,10 +240,10 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
243
240
|
);
|
|
244
241
|
}
|
|
245
242
|
|
|
246
|
-
if (requestParameters['
|
|
243
|
+
if (requestParameters['datasetPipelineConfig'] == null) {
|
|
247
244
|
throw new runtime.RequiredError(
|
|
248
|
-
'
|
|
249
|
-
'Required parameter "
|
|
245
|
+
'datasetPipelineConfig',
|
|
246
|
+
'Required parameter "datasetPipelineConfig" was null or undefined when calling configurePipelineApiV1PipelinesDatasetsDatasetIdConfigPatch().'
|
|
250
247
|
);
|
|
251
248
|
}
|
|
252
249
|
|
|
@@ -261,7 +258,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
261
258
|
method: 'PATCH',
|
|
262
259
|
headers: headerParameters,
|
|
263
260
|
query: queryParameters,
|
|
264
|
-
body:
|
|
261
|
+
body: DatasetPipelineConfigToJSON(requestParameters['datasetPipelineConfig']),
|
|
265
262
|
}, initOverrides);
|
|
266
263
|
|
|
267
264
|
return new runtime.JSONApiResponse(response, (jsonValue) => DatasetFromJSON(jsonValue));
|
|
@@ -314,7 +311,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
314
311
|
* Get the current pipeline configuration for a dataset. Returns None if no pipeline is configured. Args: dataset_id: Dataset ID Returns: Pipeline configuration or None
|
|
315
312
|
* Get Pipeline Config
|
|
316
313
|
*/
|
|
317
|
-
async getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRaw(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
314
|
+
async getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRaw(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DatasetPipelineConfig>> {
|
|
318
315
|
if (requestParameters['datasetId'] == null) {
|
|
319
316
|
throw new runtime.RequiredError(
|
|
320
317
|
'datasetId',
|
|
@@ -333,20 +330,20 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
333
330
|
query: queryParameters,
|
|
334
331
|
}, initOverrides);
|
|
335
332
|
|
|
336
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
333
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DatasetPipelineConfigFromJSON(jsonValue));
|
|
337
334
|
}
|
|
338
335
|
|
|
339
336
|
/**
|
|
340
337
|
* Get the current pipeline configuration for a dataset. Returns None if no pipeline is configured. Args: dataset_id: Dataset ID Returns: Pipeline configuration or None
|
|
341
338
|
* Get Pipeline Config
|
|
342
339
|
*/
|
|
343
|
-
async getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGet(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
340
|
+
async getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGet(requestParameters: GetPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DatasetPipelineConfig> {
|
|
344
341
|
const response = await this.getPipelineConfigApiV1PipelinesDatasetsDatasetIdConfigGetRaw(requestParameters, initOverrides);
|
|
345
342
|
return await response.value();
|
|
346
343
|
}
|
|
347
344
|
|
|
348
345
|
/**
|
|
349
|
-
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"
|
|
346
|
+
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"general_purpose\": { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\", \"config\": { ... } } }
|
|
350
347
|
* Get Preset Details
|
|
351
348
|
*/
|
|
352
349
|
async getPresetDetailsApiV1PipelinesPresetsDetailsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{ [key: string]: { [key: string]: any; }; }>> {
|
|
@@ -365,7 +362,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
365
362
|
}
|
|
366
363
|
|
|
367
364
|
/**
|
|
368
|
-
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"
|
|
365
|
+
* Get detailed preset configurations. Returns a dictionary mapping preset names to their full configurations. Use /pipelines/presets for a simple list. Returns: Dictionary of preset configurations Example Response: { \"general_purpose\": { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\", \"config\": { ... } } }
|
|
369
366
|
* Get Preset Details
|
|
370
367
|
*/
|
|
371
368
|
async getPresetDetailsApiV1PipelinesPresetsDetailsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{ [key: string]: { [key: string]: any; }; }> {
|
|
@@ -402,7 +399,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
402
399
|
}
|
|
403
400
|
|
|
404
401
|
/**
|
|
405
|
-
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"
|
|
402
|
+
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\" } ], \"total\": 1 }
|
|
406
403
|
* List Pipeline Presets
|
|
407
404
|
*/
|
|
408
405
|
async listPipelinePresetsApiV1PipelinesPresetsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PresetListResponse>> {
|
|
@@ -421,7 +418,7 @@ export class PipelinesApi extends runtime.BaseAPI implements PipelinesApiInterfa
|
|
|
421
418
|
}
|
|
422
419
|
|
|
423
420
|
/**
|
|
424
|
-
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"
|
|
421
|
+
* List all available pipeline presets. Presets are pre-configured pipeline templates that can be applied to datasets with optional parameter customization. Returns: List of preset names and descriptions Example Response: { \"presets\": [ { \"name\": \"general_purpose\", \"description\": \"Process PDF/DOCX files: OCR -> Link Figures -> Chunk -> Embed -> Store\" } ], \"total\": 1 }
|
|
425
422
|
* List Pipeline Presets
|
|
426
423
|
*/
|
|
427
424
|
async listPipelinePresetsApiV1PipelinesPresetsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PresetListResponse> {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Client Data API
|
|
5
5
|
* Client Cluster Data API - Manifest-based storage service
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.8
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|