@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).
|
|
@@ -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).
|
|
@@ -15,14 +15,14 @@ export * from './ComponentParameter';
|
|
|
15
15
|
export * from './Dataset';
|
|
16
16
|
export * from './DatasetCreateRequest';
|
|
17
17
|
export * from './DatasetListResponse';
|
|
18
|
-
export * from './
|
|
19
|
-
export * from './DatasetPipelineConfigOutput';
|
|
18
|
+
export * from './DatasetPipelineConfig';
|
|
20
19
|
export * from './DatasetResponse';
|
|
21
20
|
export * from './DatasetSchemaDefinition';
|
|
22
21
|
export * from './DatasetSchemaOriginal';
|
|
23
22
|
export * from './DatasetSchemaProcessed';
|
|
24
23
|
export * from './DatasetSchemaProcessing';
|
|
25
24
|
export * from './DatasetType';
|
|
25
|
+
export * from './DatasetUpdateRequest';
|
|
26
26
|
export * from './DatasetUpdateSchemaRequest';
|
|
27
27
|
export * from './Default';
|
|
28
28
|
export * from './EmbeddingProvider';
|
|
@@ -32,7 +32,6 @@ export * from './EntryContentResponse';
|
|
|
32
32
|
export * from './EntryCreateRequest';
|
|
33
33
|
export * from './EntryCreateResponse';
|
|
34
34
|
export * from './EntryManifest';
|
|
35
|
-
export * from './EntryPreview';
|
|
36
35
|
export * from './EntrySearchResponse';
|
|
37
36
|
export * from './EntrySearchResult';
|
|
38
37
|
export * from './EntryStatus';
|
|
@@ -44,8 +43,11 @@ export * from './HTTPValidationError';
|
|
|
44
43
|
export * from './HealthResponse';
|
|
45
44
|
export * from './KeywordSearchHit';
|
|
46
45
|
export * from './KeywordSearchRequest';
|
|
46
|
+
export * from './KeywordSearchRequestMetadataFiltersValue';
|
|
47
47
|
export * from './KeywordSearchResponse';
|
|
48
48
|
export * from './ModelInfo';
|
|
49
|
+
export * from './MoveEntryRequest';
|
|
50
|
+
export * from './MoveEntryResponse';
|
|
49
51
|
export * from './OriginalManifest';
|
|
50
52
|
export * from './PipelineStepConfig';
|
|
51
53
|
export * from './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).
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataStreaming Platform (Local)
|
|
3
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Request to create a Qdrant collection.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CreateCollectionRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateCollectionRequest {
|
|
18
|
-
/**
|
|
19
|
-
* Collection name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateCollectionRequest
|
|
22
|
-
*/
|
|
23
|
-
collectionName: string;
|
|
24
|
-
/**
|
|
25
|
-
* Vector dimension
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CreateCollectionRequest
|
|
28
|
-
*/
|
|
29
|
-
vectorSize?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Distance metric (Cosine, Euclid, Dot)
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateCollectionRequest
|
|
34
|
-
*/
|
|
35
|
-
distance?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the CreateCollectionRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfCreateCollectionRequest(value: object): value is CreateCollectionRequest;
|
|
41
|
-
export declare function CreateCollectionRequestFromJSON(json: any): CreateCollectionRequest;
|
|
42
|
-
export declare function CreateCollectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCollectionRequest;
|
|
43
|
-
export declare function CreateCollectionRequestToJSON(json: any): CreateCollectionRequest;
|
|
44
|
-
export declare function CreateCollectionRequestToJSONTyped(value?: CreateCollectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* DataStreaming Platform (Local)
|
|
6
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCreateCollectionRequest = instanceOfCreateCollectionRequest;
|
|
17
|
-
exports.CreateCollectionRequestFromJSON = CreateCollectionRequestFromJSON;
|
|
18
|
-
exports.CreateCollectionRequestFromJSONTyped = CreateCollectionRequestFromJSONTyped;
|
|
19
|
-
exports.CreateCollectionRequestToJSON = CreateCollectionRequestToJSON;
|
|
20
|
-
exports.CreateCollectionRequestToJSONTyped = CreateCollectionRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CreateCollectionRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCreateCollectionRequest(value) {
|
|
25
|
-
if (!('collectionName' in value) || value['collectionName'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function CreateCollectionRequestFromJSON(json) {
|
|
30
|
-
return CreateCollectionRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function CreateCollectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'collectionName': json['collection_name'],
|
|
38
|
-
'vectorSize': json['vector_size'] == null ? undefined : json['vector_size'],
|
|
39
|
-
'distance': json['distance'] == null ? undefined : json['distance'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function CreateCollectionRequestToJSON(json) {
|
|
43
|
-
return CreateCollectionRequestToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function CreateCollectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'collection_name': value['collectionName'],
|
|
51
|
-
'vector_size': value['vectorSize'],
|
|
52
|
-
'distance': value['distance'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client Data API
|
|
3
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PipelineStepConfig } from './PipelineStepConfig';
|
|
13
|
-
/**
|
|
14
|
-
* Complete pipeline configuration for a dataset.
|
|
15
|
-
*
|
|
16
|
-
* Defines a sequence of processing steps to be executed when entries
|
|
17
|
-
* are uploaded or manually triggered.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DatasetPipelineConfigInput
|
|
20
|
-
*/
|
|
21
|
-
export interface DatasetPipelineConfigInput {
|
|
22
|
-
/**
|
|
23
|
-
* Whether the pipeline is active for this dataset
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof DatasetPipelineConfigInput
|
|
26
|
-
*/
|
|
27
|
-
enabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* When to trigger the pipeline: automatically on upload or manually
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DatasetPipelineConfigInput
|
|
32
|
-
*/
|
|
33
|
-
trigger?: DatasetPipelineConfigInputTriggerEnum;
|
|
34
|
-
/**
|
|
35
|
-
* Ordered list of pipeline steps to execute
|
|
36
|
-
* @type {Array<PipelineStepConfig>}
|
|
37
|
-
* @memberof DatasetPipelineConfigInput
|
|
38
|
-
*/
|
|
39
|
-
steps: Array<PipelineStepConfig>;
|
|
40
|
-
/**
|
|
41
|
-
* Maximum execution time for the entire pipeline (e.g., '30m', '2h')
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof DatasetPipelineConfigInput
|
|
44
|
-
*/
|
|
45
|
-
timeout?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const DatasetPipelineConfigInputTriggerEnum: {
|
|
51
|
-
readonly OnUpload: "on_upload";
|
|
52
|
-
readonly Manual: "manual";
|
|
53
|
-
};
|
|
54
|
-
export type DatasetPipelineConfigInputTriggerEnum = typeof DatasetPipelineConfigInputTriggerEnum[keyof typeof DatasetPipelineConfigInputTriggerEnum];
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the DatasetPipelineConfigInput interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfDatasetPipelineConfigInput(value: object): value is DatasetPipelineConfigInput;
|
|
59
|
-
export declare function DatasetPipelineConfigInputFromJSON(json: any): DatasetPipelineConfigInput;
|
|
60
|
-
export declare function DatasetPipelineConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetPipelineConfigInput;
|
|
61
|
-
export declare function DatasetPipelineConfigInputToJSON(json: any): DatasetPipelineConfigInput;
|
|
62
|
-
export declare function DatasetPipelineConfigInputToJSONTyped(value?: DatasetPipelineConfigInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client Data API
|
|
3
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PipelineStepConfig } from './PipelineStepConfig';
|
|
13
|
-
/**
|
|
14
|
-
* Complete pipeline configuration for a dataset.
|
|
15
|
-
*
|
|
16
|
-
* Defines a sequence of processing steps to be executed when entries
|
|
17
|
-
* are uploaded or manually triggered.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DatasetPipelineConfigOutput
|
|
20
|
-
*/
|
|
21
|
-
export interface DatasetPipelineConfigOutput {
|
|
22
|
-
/**
|
|
23
|
-
* Whether the pipeline is active for this dataset
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof DatasetPipelineConfigOutput
|
|
26
|
-
*/
|
|
27
|
-
enabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* When to trigger the pipeline: automatically on upload or manually
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DatasetPipelineConfigOutput
|
|
32
|
-
*/
|
|
33
|
-
trigger?: DatasetPipelineConfigOutputTriggerEnum;
|
|
34
|
-
/**
|
|
35
|
-
* Ordered list of pipeline steps to execute
|
|
36
|
-
* @type {Array<PipelineStepConfig>}
|
|
37
|
-
* @memberof DatasetPipelineConfigOutput
|
|
38
|
-
*/
|
|
39
|
-
steps: Array<PipelineStepConfig>;
|
|
40
|
-
/**
|
|
41
|
-
* Maximum execution time for the entire pipeline (e.g., '30m', '2h')
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof DatasetPipelineConfigOutput
|
|
44
|
-
*/
|
|
45
|
-
timeout?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const DatasetPipelineConfigOutputTriggerEnum: {
|
|
51
|
-
readonly OnUpload: "on_upload";
|
|
52
|
-
readonly Manual: "manual";
|
|
53
|
-
};
|
|
54
|
-
export type DatasetPipelineConfigOutputTriggerEnum = typeof DatasetPipelineConfigOutputTriggerEnum[keyof typeof DatasetPipelineConfigOutputTriggerEnum];
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the DatasetPipelineConfigOutput interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfDatasetPipelineConfigOutput(value: object): value is DatasetPipelineConfigOutput;
|
|
59
|
-
export declare function DatasetPipelineConfigOutputFromJSON(json: any): DatasetPipelineConfigOutput;
|
|
60
|
-
export declare function DatasetPipelineConfigOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetPipelineConfigOutput;
|
|
61
|
-
export declare function DatasetPipelineConfigOutputToJSON(json: any): DatasetPipelineConfigOutput;
|
|
62
|
-
export declare function DatasetPipelineConfigOutputToJSONTyped(value?: DatasetPipelineConfigOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Client Data API
|
|
6
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DatasetPipelineConfigOutputTriggerEnum = void 0;
|
|
17
|
-
exports.instanceOfDatasetPipelineConfigOutput = instanceOfDatasetPipelineConfigOutput;
|
|
18
|
-
exports.DatasetPipelineConfigOutputFromJSON = DatasetPipelineConfigOutputFromJSON;
|
|
19
|
-
exports.DatasetPipelineConfigOutputFromJSONTyped = DatasetPipelineConfigOutputFromJSONTyped;
|
|
20
|
-
exports.DatasetPipelineConfigOutputToJSON = DatasetPipelineConfigOutputToJSON;
|
|
21
|
-
exports.DatasetPipelineConfigOutputToJSONTyped = DatasetPipelineConfigOutputToJSONTyped;
|
|
22
|
-
const PipelineStepConfig_1 = require("./PipelineStepConfig");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.DatasetPipelineConfigOutputTriggerEnum = {
|
|
27
|
-
OnUpload: 'on_upload',
|
|
28
|
-
Manual: 'manual'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the DatasetPipelineConfigOutput interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfDatasetPipelineConfigOutput(value) {
|
|
34
|
-
if (!('steps' in value) || value['steps'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
function DatasetPipelineConfigOutputFromJSON(json) {
|
|
39
|
-
return DatasetPipelineConfigOutputFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
function DatasetPipelineConfigOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
47
|
-
'trigger': json['trigger'] == null ? undefined : json['trigger'],
|
|
48
|
-
'steps': (json['steps'].map(PipelineStepConfig_1.PipelineStepConfigFromJSON)),
|
|
49
|
-
'timeout': json['timeout'] == null ? undefined : json['timeout'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function DatasetPipelineConfigOutputToJSON(json) {
|
|
53
|
-
return DatasetPipelineConfigOutputToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function DatasetPipelineConfigOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'enabled': value['enabled'],
|
|
61
|
-
'trigger': value['trigger'],
|
|
62
|
-
'steps': (value['steps'].map(PipelineStepConfig_1.PipelineStepConfigToJSON)),
|
|
63
|
-
'timeout': value['timeout'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Client Data API
|
|
3
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Lightweight entry metadata for search results (without full content).
|
|
14
|
-
* @export
|
|
15
|
-
* @interface EntryPreview
|
|
16
|
-
*/
|
|
17
|
-
export interface EntryPreview {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EntryPreview
|
|
22
|
-
*/
|
|
23
|
-
doi?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
* Author list (if available)
|
|
26
|
-
* @type {Array<{ [key: string]: string; }>}
|
|
27
|
-
* @memberof EntryPreview
|
|
28
|
-
*/
|
|
29
|
-
authors?: Array<{
|
|
30
|
-
[key: string]: string;
|
|
31
|
-
}>;
|
|
32
|
-
/**
|
|
33
|
-
* Document categories (if available)
|
|
34
|
-
* @type {{ [key: string]: string; }}
|
|
35
|
-
* @memberof EntryPreview
|
|
36
|
-
*/
|
|
37
|
-
categories?: {
|
|
38
|
-
[key: string]: string;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Document statistics (contentLength, figureCount, referenceCount)
|
|
42
|
-
* @type {{ [key: string]: number; }}
|
|
43
|
-
* @memberof EntryPreview
|
|
44
|
-
*/
|
|
45
|
-
stats?: {
|
|
46
|
-
[key: string]: number;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the EntryPreview interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfEntryPreview(value: object): value is EntryPreview;
|
|
53
|
-
export declare function EntryPreviewFromJSON(json: any): EntryPreview;
|
|
54
|
-
export declare function EntryPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntryPreview;
|
|
55
|
-
export declare function EntryPreviewToJSON(json: any): EntryPreview;
|
|
56
|
-
export declare function EntryPreviewToJSONTyped(value?: EntryPreview | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Client Data API
|
|
6
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfEntryPreview = instanceOfEntryPreview;
|
|
17
|
-
exports.EntryPreviewFromJSON = EntryPreviewFromJSON;
|
|
18
|
-
exports.EntryPreviewFromJSONTyped = EntryPreviewFromJSONTyped;
|
|
19
|
-
exports.EntryPreviewToJSON = EntryPreviewToJSON;
|
|
20
|
-
exports.EntryPreviewToJSONTyped = EntryPreviewToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the EntryPreview interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfEntryPreview(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function EntryPreviewFromJSON(json) {
|
|
28
|
-
return EntryPreviewFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function EntryPreviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'doi': json['doi'] == null ? undefined : json['doi'],
|
|
36
|
-
'authors': json['authors'] == null ? undefined : json['authors'],
|
|
37
|
-
'categories': json['categories'] == null ? undefined : json['categories'],
|
|
38
|
-
'stats': json['stats'] == null ? undefined : json['stats'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function EntryPreviewToJSON(json) {
|
|
42
|
-
return EntryPreviewToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function EntryPreviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'doi': value['doi'],
|
|
50
|
-
'authors': value['authors'],
|
|
51
|
-
'categories': value['categories'],
|
|
52
|
-
'stats': value['stats'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DataStreaming Platform (Local)
|
|
5
|
-
* Client Cluster Data API - Manifest-based storage service
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Request to create a Qdrant collection.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface CreateCollectionRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateCollectionRequest {
|
|
22
|
-
/**
|
|
23
|
-
* Collection name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateCollectionRequest
|
|
26
|
-
*/
|
|
27
|
-
collectionName: string;
|
|
28
|
-
/**
|
|
29
|
-
* Vector dimension
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof CreateCollectionRequest
|
|
32
|
-
*/
|
|
33
|
-
vectorSize?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Distance metric (Cosine, Euclid, Dot)
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof CreateCollectionRequest
|
|
38
|
-
*/
|
|
39
|
-
distance?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the CreateCollectionRequest interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfCreateCollectionRequest(value: object): value is CreateCollectionRequest {
|
|
46
|
-
if (!('collectionName' in value) || value['collectionName'] === undefined) return false;
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function CreateCollectionRequestFromJSON(json: any): CreateCollectionRequest {
|
|
51
|
-
return CreateCollectionRequestFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function CreateCollectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCollectionRequest {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'collectionName': json['collection_name'],
|
|
61
|
-
'vectorSize': json['vector_size'] == null ? undefined : json['vector_size'],
|
|
62
|
-
'distance': json['distance'] == null ? undefined : json['distance'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function CreateCollectionRequestToJSON(json: any): CreateCollectionRequest {
|
|
67
|
-
return CreateCollectionRequestToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function CreateCollectionRequestToJSONTyped(value?: CreateCollectionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'collection_name': value['collectionName'],
|
|
78
|
-
'vector_size': value['vectorSize'],
|
|
79
|
-
'distance': value['distance'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|