@sap-ai-sdk/document-grounding 1.4.1-20241213113708.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +119 -0
- package/dist/client/api/collections-api.d.ts +67 -0
- package/dist/client/api/collections-api.d.ts.map +1 -0
- package/dist/client/api/collections-api.js +73 -0
- package/dist/client/api/collections-api.js.map +1 -0
- package/dist/client/api/documents-api.d.ts +63 -0
- package/dist/client/api/documents-api.d.ts.map +1 -0
- package/dist/client/api/documents-api.js +71 -0
- package/dist/client/api/documents-api.js.map +1 -0
- package/dist/client/api/index.d.ts +8 -0
- package/dist/client/api/index.d.ts.map +1 -0
- package/dist/client/api/index.js +13 -0
- package/dist/client/api/index.js.map +1 -0
- package/dist/client/api/pipelines-api.d.ts +58 -0
- package/dist/client/api/pipelines-api.d.ts.map +1 -0
- package/dist/client/api/pipelines-api.js +63 -0
- package/dist/client/api/pipelines-api.js.map +1 -0
- package/dist/client/api/retrieval-data-repository-api.d.ts +31 -0
- package/dist/client/api/retrieval-data-repository-api.d.ts.map +1 -0
- package/dist/client/api/retrieval-data-repository-api.js +33 -0
- package/dist/client/api/retrieval-data-repository-api.js.map +1 -0
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts +18 -0
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts.map +1 -0
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js +23 -0
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js.map +1 -0
- package/dist/client/api/schema/api-error.d.ts +24 -0
- package/dist/client/api/schema/api-error.d.ts.map +1 -0
- package/dist/client/api/schema/api-error.js +2 -0
- package/dist/client/api/schema/api-error.js.map +1 -0
- package/dist/client/api/schema/base-document.d.ts +10 -0
- package/dist/client/api/schema/base-document.d.ts.map +1 -0
- package/dist/client/api/schema/base-document.js +2 -0
- package/dist/client/api/schema/base-document.js.map +1 -0
- package/dist/client/api/schema/chunk.d.ts +13 -0
- package/dist/client/api/schema/chunk.d.ts.map +1 -0
- package/dist/client/api/schema/chunk.js +2 -0
- package/dist/client/api/schema/chunk.js.map +1 -0
- package/dist/client/api/schema/collection-created-response.d.ts +8 -0
- package/dist/client/api/schema/collection-created-response.d.ts.map +1 -0
- package/dist/client/api/schema/collection-created-response.js +7 -0
- package/dist/client/api/schema/collection-created-response.js.map +1 -0
- package/dist/client/api/schema/collection-deleted-response.d.ts +8 -0
- package/dist/client/api/schema/collection-deleted-response.d.ts.map +1 -0
- package/dist/client/api/schema/collection-deleted-response.js +7 -0
- package/dist/client/api/schema/collection-deleted-response.js.map +1 -0
- package/dist/client/api/schema/collection-pending-response.d.ts +11 -0
- package/dist/client/api/schema/collection-pending-response.d.ts.map +1 -0
- package/dist/client/api/schema/collection-pending-response.js +7 -0
- package/dist/client/api/schema/collection-pending-response.js.map +1 -0
- package/dist/client/api/schema/collection-request.d.ts +15 -0
- package/dist/client/api/schema/collection-request.d.ts.map +1 -0
- package/dist/client/api/schema/collection-request.js +2 -0
- package/dist/client/api/schema/collection-request.js.map +1 -0
- package/dist/client/api/schema/collection.d.ts +20 -0
- package/dist/client/api/schema/collection.d.ts.map +1 -0
- package/dist/client/api/schema/collection.js +2 -0
- package/dist/client/api/schema/collection.js.map +1 -0
- package/dist/client/api/schema/collections-list-response.d.ts +9 -0
- package/dist/client/api/schema/collections-list-response.d.ts.map +1 -0
- package/dist/client/api/schema/collections-list-response.js +2 -0
- package/dist/client/api/schema/collections-list-response.js.map +1 -0
- package/dist/client/api/schema/data-repositories.d.ts +9 -0
- package/dist/client/api/schema/data-repositories.d.ts.map +1 -0
- package/dist/client/api/schema/data-repositories.js +2 -0
- package/dist/client/api/schema/data-repositories.js.map +1 -0
- package/dist/client/api/schema/data-repository-type.d.ts +5 -0
- package/dist/client/api/schema/data-repository-type.d.ts.map +1 -0
- package/dist/client/api/schema/data-repository-type.js +7 -0
- package/dist/client/api/schema/data-repository-type.js.map +1 -0
- package/dist/client/api/schema/data-repository-with-documents.d.ts +19 -0
- package/dist/client/api/schema/data-repository-with-documents.d.ts.map +1 -0
- package/dist/client/api/schema/data-repository-with-documents.js +2 -0
- package/dist/client/api/schema/data-repository-with-documents.js.map +1 -0
- package/dist/client/api/schema/data-repository.d.ts +20 -0
- package/dist/client/api/schema/data-repository.d.ts.map +1 -0
- package/dist/client/api/schema/data-repository.js +2 -0
- package/dist/client/api/schema/data-repository.js.map +1 -0
- package/dist/client/api/schema/details-error-response.d.ts +14 -0
- package/dist/client/api/schema/details-error-response.d.ts.map +1 -0
- package/dist/client/api/schema/details-error-response.js +7 -0
- package/dist/client/api/schema/details-error-response.js.map +1 -0
- package/dist/client/api/schema/document-create-request.d.ts +8 -0
- package/dist/client/api/schema/document-create-request.d.ts.map +1 -0
- package/dist/client/api/schema/document-create-request.js +2 -0
- package/dist/client/api/schema/document-create-request.js.map +1 -0
- package/dist/client/api/schema/document-input.d.ts +15 -0
- package/dist/client/api/schema/document-input.d.ts.map +1 -0
- package/dist/client/api/schema/document-input.js +2 -0
- package/dist/client/api/schema/document-input.js.map +1 -0
- package/dist/client/api/schema/document-key-value-list-pair.d.ts +16 -0
- package/dist/client/api/schema/document-key-value-list-pair.d.ts.map +1 -0
- package/dist/client/api/schema/document-key-value-list-pair.js +7 -0
- package/dist/client/api/schema/document-key-value-list-pair.js.map +1 -0
- package/dist/client/api/schema/document-output.d.ts +17 -0
- package/dist/client/api/schema/document-output.d.ts.map +1 -0
- package/dist/client/api/schema/document-output.js +2 -0
- package/dist/client/api/schema/document-output.js.map +1 -0
- package/dist/client/api/schema/document-response.d.ts +15 -0
- package/dist/client/api/schema/document-response.d.ts.map +1 -0
- package/dist/client/api/schema/document-response.js +2 -0
- package/dist/client/api/schema/document-response.js.map +1 -0
- package/dist/client/api/schema/document-update-request.d.ts +8 -0
- package/dist/client/api/schema/document-update-request.d.ts.map +1 -0
- package/dist/client/api/schema/document-update-request.js +2 -0
- package/dist/client/api/schema/document-update-request.js.map +1 -0
- package/dist/client/api/schema/document-without-chunks.d.ts +13 -0
- package/dist/client/api/schema/document-without-chunks.d.ts.map +1 -0
- package/dist/client/api/schema/document-without-chunks.js +2 -0
- package/dist/client/api/schema/document-without-chunks.js.map +1 -0
- package/dist/client/api/schema/documents-chunk.d.ts +18 -0
- package/dist/client/api/schema/documents-chunk.d.ts.map +1 -0
- package/dist/client/api/schema/documents-chunk.js +2 -0
- package/dist/client/api/schema/documents-chunk.js.map +1 -0
- package/dist/client/api/schema/documents-list-response.d.ts +8 -0
- package/dist/client/api/schema/documents-list-response.d.ts.map +1 -0
- package/dist/client/api/schema/documents-list-response.js +2 -0
- package/dist/client/api/schema/documents-list-response.js.map +1 -0
- package/dist/client/api/schema/documents.d.ts +9 -0
- package/dist/client/api/schema/documents.d.ts.map +1 -0
- package/dist/client/api/schema/documents.js +2 -0
- package/dist/client/api/schema/documents.js.map +1 -0
- package/dist/client/api/schema/embedding-config.d.ts +11 -0
- package/dist/client/api/schema/embedding-config.d.ts.map +1 -0
- package/dist/client/api/schema/embedding-config.js +7 -0
- package/dist/client/api/schema/embedding-config.js.map +1 -0
- package/dist/client/api/schema/index.d.ts +47 -0
- package/dist/client/api/schema/index.d.ts.map +1 -0
- package/dist/client/api/schema/index.js +52 -0
- package/dist/client/api/schema/index.js.map +1 -0
- package/dist/client/api/schema/key-value-list-pair.d.ts +11 -0
- package/dist/client/api/schema/key-value-list-pair.d.ts.map +1 -0
- package/dist/client/api/schema/key-value-list-pair.js +7 -0
- package/dist/client/api/schema/key-value-list-pair.js.map +1 -0
- package/dist/client/api/schema/per-filter-search-result.d.ts +9 -0
- package/dist/client/api/schema/per-filter-search-result.d.ts.map +1 -0
- package/dist/client/api/schema/per-filter-search-result.js +2 -0
- package/dist/client/api/schema/per-filter-search-result.js.map +1 -0
- package/dist/client/api/schema/pipeline-id.d.ts +10 -0
- package/dist/client/api/schema/pipeline-id.d.ts.map +1 -0
- package/dist/client/api/schema/pipeline-id.js +7 -0
- package/dist/client/api/schema/pipeline-id.js.map +1 -0
- package/dist/client/api/schema/pipeline-post-requst.d.ts +31 -0
- package/dist/client/api/schema/pipeline-post-requst.d.ts.map +1 -0
- package/dist/client/api/schema/pipeline-post-requst.js +7 -0
- package/dist/client/api/schema/pipeline-post-requst.js.map +1 -0
- package/dist/client/api/schema/pipeline-status.d.ts +11 -0
- package/dist/client/api/schema/pipeline-status.d.ts.map +1 -0
- package/dist/client/api/schema/pipeline-status.js +7 -0
- package/dist/client/api/schema/pipeline-status.js.map +1 -0
- package/dist/client/api/schema/pipeline.d.ts +39 -0
- package/dist/client/api/schema/pipeline.d.ts.map +1 -0
- package/dist/client/api/schema/pipeline.js +7 -0
- package/dist/client/api/schema/pipeline.js.map +1 -0
- package/dist/client/api/schema/pipelines.d.ts +9 -0
- package/dist/client/api/schema/pipelines.d.ts.map +1 -0
- package/dist/client/api/schema/pipelines.js +2 -0
- package/dist/client/api/schema/pipelines.js.map +1 -0
- package/dist/client/api/schema/retieval-data-repository-search-result.d.ts +8 -0
- package/dist/client/api/schema/retieval-data-repository-search-result.d.ts.map +1 -0
- package/dist/client/api/schema/retieval-data-repository-search-result.js +2 -0
- package/dist/client/api/schema/retieval-data-repository-search-result.js.map +1 -0
- package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts +7 -0
- package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts.map +1 -0
- package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js +7 -0
- package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js.map +1 -0
- package/dist/client/api/schema/retieval-per-filter-search-result.d.ts +13 -0
- package/dist/client/api/schema/retieval-per-filter-search-result.d.ts.map +1 -0
- package/dist/client/api/schema/retieval-per-filter-search-result.js +2 -0
- package/dist/client/api/schema/retieval-per-filter-search-result.js.map +1 -0
- package/dist/client/api/schema/retieval-search-results.d.ts +12 -0
- package/dist/client/api/schema/retieval-search-results.d.ts.map +1 -0
- package/dist/client/api/schema/retieval-search-results.js +2 -0
- package/dist/client/api/schema/retieval-search-results.js.map +1 -0
- package/dist/client/api/schema/retrieval-document.d.ts +14 -0
- package/dist/client/api/schema/retrieval-document.d.ts.map +1 -0
- package/dist/client/api/schema/retrieval-document.js +2 -0
- package/dist/client/api/schema/retrieval-document.js.map +1 -0
- package/dist/client/api/schema/retrieval-search-filter.d.ts +38 -0
- package/dist/client/api/schema/retrieval-search-filter.d.ts.map +1 -0
- package/dist/client/api/schema/retrieval-search-filter.js +2 -0
- package/dist/client/api/schema/retrieval-search-filter.js.map +1 -0
- package/dist/client/api/schema/retrieval-search-input.d.ts +13 -0
- package/dist/client/api/schema/retrieval-search-input.d.ts.map +1 -0
- package/dist/client/api/schema/retrieval-search-input.js +2 -0
- package/dist/client/api/schema/retrieval-search-input.js.map +1 -0
- package/dist/client/api/schema/search-configuration.d.ts +14 -0
- package/dist/client/api/schema/search-configuration.d.ts.map +1 -0
- package/dist/client/api/schema/search-configuration.js +7 -0
- package/dist/client/api/schema/search-configuration.js.map +1 -0
- package/dist/client/api/schema/search-document-key-value-list-pair.d.ts +16 -0
- package/dist/client/api/schema/search-document-key-value-list-pair.d.ts.map +1 -0
- package/dist/client/api/schema/search-document-key-value-list-pair.js +2 -0
- package/dist/client/api/schema/search-document-key-value-list-pair.js.map +1 -0
- package/dist/client/api/schema/search-filter.d.ts +33 -0
- package/dist/client/api/schema/search-filter.d.ts.map +1 -0
- package/dist/client/api/schema/search-filter.js +2 -0
- package/dist/client/api/schema/search-filter.js.map +1 -0
- package/dist/client/api/schema/search-results.d.ts +11 -0
- package/dist/client/api/schema/search-results.d.ts.map +1 -0
- package/dist/client/api/schema/search-results.js +2 -0
- package/dist/client/api/schema/search-results.js.map +1 -0
- package/dist/client/api/schema/search-select-option-enum.d.ts +6 -0
- package/dist/client/api/schema/search-select-option-enum.d.ts.map +1 -0
- package/dist/client/api/schema/search-select-option-enum.js +7 -0
- package/dist/client/api/schema/search-select-option-enum.js.map +1 -0
- package/dist/client/api/schema/text-only-base-chunk.d.ts +9 -0
- package/dist/client/api/schema/text-only-base-chunk.d.ts.map +1 -0
- package/dist/client/api/schema/text-only-base-chunk.js +2 -0
- package/dist/client/api/schema/text-only-base-chunk.js.map +1 -0
- package/dist/client/api/schema/text-search-request.d.ts +14 -0
- package/dist/client/api/schema/text-search-request.d.ts.map +1 -0
- package/dist/client/api/schema/text-search-request.js +2 -0
- package/dist/client/api/schema/text-search-request.js.map +1 -0
- package/dist/client/api/search-api.d.ts +18 -0
- package/dist/client/api/search-api.d.ts.map +1 -0
- package/dist/client/api/search-api.js +23 -0
- package/dist/client/api/search-api.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/internal.d.ts +2 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +2 -0
- package/dist/internal.js.map +1 -0
- package/internal.d.ts +3 -0
- package/internal.js +2 -0
- package/package.json +34 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { Pipelines, PipelinePostRequst, PipelineId, Pipeline, PipelineStatus } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'PipelinesApi'.
|
|
5
|
+
* This API is part of the 'api' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PipelinesApi: {
|
|
8
|
+
/**
|
|
9
|
+
* Get all pipelines
|
|
10
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
11
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
12
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
13
|
+
*/
|
|
14
|
+
pipelineV1PipelineEndpointsGetAllPipeline: (queryParameters: {
|
|
15
|
+
$top?: number;
|
|
16
|
+
$skip?: number;
|
|
17
|
+
$count?: boolean;
|
|
18
|
+
}, headerParameters: {
|
|
19
|
+
"AI-Resource-Group": string;
|
|
20
|
+
}) => OpenApiRequestBuilder<Pipelines>;
|
|
21
|
+
/**
|
|
22
|
+
* Create a pipeline
|
|
23
|
+
* @param body - Request body.
|
|
24
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
25
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
26
|
+
*/
|
|
27
|
+
pipelineV1PipelineEndpointsCreatePipeline: (body: PipelinePostRequst, headerParameters: {
|
|
28
|
+
"AI-Resource-Group": string;
|
|
29
|
+
}) => OpenApiRequestBuilder<PipelineId>;
|
|
30
|
+
/**
|
|
31
|
+
* Get details of a pipeline by pipeline id
|
|
32
|
+
* @param pipelineId - The ID of the pipeline to get.
|
|
33
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
34
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
35
|
+
*/
|
|
36
|
+
pipelineV1PipelineEndpointsGetPipelineById: (pipelineId: string, headerParameters: {
|
|
37
|
+
"AI-Resource-Group": string;
|
|
38
|
+
}) => OpenApiRequestBuilder<Pipeline>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a pipeline by pipeline id
|
|
41
|
+
* @param pipelineId - The ID of the pipeline to delete.
|
|
42
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
43
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
44
|
+
*/
|
|
45
|
+
pipelineV1PipelineEndpointsDeletePipelineById: (pipelineId: string, headerParameters: {
|
|
46
|
+
"AI-Resource-Group": string;
|
|
47
|
+
}) => OpenApiRequestBuilder<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Get pipeline status by pipeline id
|
|
50
|
+
* @param pipelineId - The ID of the pipeline to get status.
|
|
51
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
52
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
53
|
+
*/
|
|
54
|
+
pipelineV1PipelineEndpointsGetPipelineStatus: (pipelineId: string, headerParameters: {
|
|
55
|
+
"AI-Resource-Group": string;
|
|
56
|
+
}) => OpenApiRequestBuilder<PipelineStatus>;
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=pipelines-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipelines-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/pipelines-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,UAAU,EACV,QAAQ,EACR,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;OAKG;iEAEgB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;sDAEK,kBAAkB,oBACN;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;6DAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;gEAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;+DAEW,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
|
+
*/
|
|
6
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
7
|
+
/**
|
|
8
|
+
* Representation of the 'PipelinesApi'.
|
|
9
|
+
* This API is part of the 'api' service.
|
|
10
|
+
*/
|
|
11
|
+
export const PipelinesApi = {
|
|
12
|
+
/**
|
|
13
|
+
* Get all pipelines
|
|
14
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
15
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
16
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
17
|
+
*/
|
|
18
|
+
pipelineV1PipelineEndpointsGetAllPipeline: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines', {
|
|
19
|
+
queryParameters,
|
|
20
|
+
headerParameters
|
|
21
|
+
}),
|
|
22
|
+
/**
|
|
23
|
+
* Create a pipeline
|
|
24
|
+
* @param body - Request body.
|
|
25
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
26
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
27
|
+
*/
|
|
28
|
+
pipelineV1PipelineEndpointsCreatePipeline: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/pipelines', {
|
|
29
|
+
body,
|
|
30
|
+
headerParameters
|
|
31
|
+
}),
|
|
32
|
+
/**
|
|
33
|
+
* Get details of a pipeline by pipeline id
|
|
34
|
+
* @param pipelineId - The ID of the pipeline to get.
|
|
35
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
36
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
37
|
+
*/
|
|
38
|
+
pipelineV1PipelineEndpointsGetPipelineById: (pipelineId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines/{pipelineId}', {
|
|
39
|
+
pathParameters: { pipelineId },
|
|
40
|
+
headerParameters
|
|
41
|
+
}),
|
|
42
|
+
/**
|
|
43
|
+
* Delete a pipeline by pipeline id
|
|
44
|
+
* @param pipelineId - The ID of the pipeline to delete.
|
|
45
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
46
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
47
|
+
*/
|
|
48
|
+
pipelineV1PipelineEndpointsDeletePipelineById: (pipelineId, headerParameters) => new OpenApiRequestBuilder('delete', '/lm/document-grounding/pipelines/{pipelineId}', {
|
|
49
|
+
pathParameters: { pipelineId },
|
|
50
|
+
headerParameters
|
|
51
|
+
}),
|
|
52
|
+
/**
|
|
53
|
+
* Get pipeline status by pipeline id
|
|
54
|
+
* @param pipelineId - The ID of the pipeline to get status.
|
|
55
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
56
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
57
|
+
*/
|
|
58
|
+
pipelineV1PipelineEndpointsGetPipelineStatus: (pipelineId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/pipelines/{pipelineId}/status', {
|
|
59
|
+
pathParameters: { pipelineId },
|
|
60
|
+
headerParameters
|
|
61
|
+
})
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=pipelines-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipelines-api.js","sourceRoot":"","sources":["../../../src/client/api/pipelines-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAQzD;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;;;;;OAKG;IACH,yCAAyC,EAAE,CACzC,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,kCAAkC,EAClC;QACE,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,yCAAyC,EAAE,CACzC,IAAwB,EACxB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,kCAAkC,EAClC;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,0CAA0C,EAAE,CAC1C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,+CAA+C,EAC/C;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,6CAA6C,EAAE,CAC7C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,QAAQ,EACR,+CAA+C,EAC/C;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,4CAA4C,EAAE,CAC5C,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,sDAAsD,EACtD;QACE,cAAc,EAAE,EAAE,UAAU,EAAE;QAC9B,gBAAgB;KACjB,CACF;CACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { DataRepositories, DataRepository } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'RetrievalDataRepositoryApi'.
|
|
5
|
+
* This API is part of the 'api' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RetrievalDataRepositoryApi: {
|
|
8
|
+
/**
|
|
9
|
+
* List all DataRepository objects.
|
|
10
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
11
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
12
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
13
|
+
*/
|
|
14
|
+
retrievalV1RetrievalEndpointsGetDataRepositories: (queryParameters: {
|
|
15
|
+
$top?: number;
|
|
16
|
+
$skip?: number;
|
|
17
|
+
$count?: boolean;
|
|
18
|
+
}, headerParameters: {
|
|
19
|
+
"AI-Resource-Group": string;
|
|
20
|
+
}) => OpenApiRequestBuilder<DataRepositories>;
|
|
21
|
+
/**
|
|
22
|
+
* List single DataRepository object.
|
|
23
|
+
* @param repositoryId - Path parameter.
|
|
24
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
25
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
26
|
+
*/
|
|
27
|
+
retrievalV1RetrievalEndpointsGetDataRepository: (repositoryId: string, headerParameters: {
|
|
28
|
+
"AI-Resource-Group": string;
|
|
29
|
+
}) => OpenApiRequestBuilder<DataRepository>;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=retrieval-data-repository-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-data-repository-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/retrieval-data-repository-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC1E;;;GAGG;AACH,eAAO,MAAM,0BAA0B;IACrC;;;;;OAKG;wEAEgB;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,oBAClD;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;mEAEa,MAAM,oBACF;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
|
+
*/
|
|
6
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
7
|
+
/**
|
|
8
|
+
* Representation of the 'RetrievalDataRepositoryApi'.
|
|
9
|
+
* This API is part of the 'api' service.
|
|
10
|
+
*/
|
|
11
|
+
export const RetrievalDataRepositoryApi = {
|
|
12
|
+
/**
|
|
13
|
+
* List all DataRepository objects.
|
|
14
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
15
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
16
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
17
|
+
*/
|
|
18
|
+
retrievalV1RetrievalEndpointsGetDataRepositories: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/retrieval/dataRepositories', {
|
|
19
|
+
queryParameters,
|
|
20
|
+
headerParameters
|
|
21
|
+
}),
|
|
22
|
+
/**
|
|
23
|
+
* List single DataRepository object.
|
|
24
|
+
* @param repositoryId - Path parameter.
|
|
25
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
26
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
27
|
+
*/
|
|
28
|
+
retrievalV1RetrievalEndpointsGetDataRepository: (repositoryId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/retrieval/dataRepositories/{repositoryId}', {
|
|
29
|
+
pathParameters: { repositoryId },
|
|
30
|
+
headerParameters
|
|
31
|
+
})
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=retrieval-data-repository-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-data-repository-api.js","sourceRoot":"","sources":["../../../src/client/api/retrieval-data-repository-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC;;;;;OAKG;IACH,gDAAgD,EAAE,CAChD,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,mDAAmD,EACnD;QACE,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,8CAA8C,EAAE,CAC9C,YAAoB,EACpB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,kEAAkE,EAClE;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,gBAAgB;KACjB,CACF;CACJ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { RetrievalSearchInput, RetievalSearchResults } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'RetrievalFederatedSearchAcrossDataRepositoriesApi'.
|
|
5
|
+
* This API is part of the 'api' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const RetrievalFederatedSearchAcrossDataRepositoriesApi: {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve relevant content given a query string.
|
|
10
|
+
* @param body - Request body.
|
|
11
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
12
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
13
|
+
*/
|
|
14
|
+
retrievalV1RetrievalEndpointsSearchDataRepositories: (body: RetrievalSearchInput, headerParameters: {
|
|
15
|
+
"AI-Resource-Group": string;
|
|
16
|
+
}) => OpenApiRequestBuilder<RetievalSearchResults>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=retrieval-federated-search-across-data-repositories-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-federated-search-across-data-repositories-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/retrieval-federated-search-across-data-repositories-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,iDAAiD;IAC5D;;;;;OAKG;gEAEK,oBAAoB,oBACR;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAUpD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
|
|
5
|
+
*/
|
|
6
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
7
|
+
/**
|
|
8
|
+
* Representation of the 'RetrievalFederatedSearchAcrossDataRepositoriesApi'.
|
|
9
|
+
* This API is part of the 'api' service.
|
|
10
|
+
*/
|
|
11
|
+
export const RetrievalFederatedSearchAcrossDataRepositoriesApi = {
|
|
12
|
+
/**
|
|
13
|
+
* Retrieve relevant content given a query string.
|
|
14
|
+
* @param body - Request body.
|
|
15
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
16
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
17
|
+
*/
|
|
18
|
+
retrievalV1RetrievalEndpointsSearchDataRepositories: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/retrieval/search', {
|
|
19
|
+
body,
|
|
20
|
+
headerParameters
|
|
21
|
+
})
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=retrieval-federated-search-across-data-repositories-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-federated-search-across-data-repositories-api.js","sourceRoot":"","sources":["../../../src/client/api/retrieval-federated-search-across-data-repositories-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAKzD;;;GAGG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG;IAC/D;;;;;OAKG;IACH,mDAAmD,EAAE,CACnD,IAA0B,EAC1B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,yCAAyC,EACzC;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;CACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DetailsErrorResponse } from './details-error-response.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ApiError' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ApiError = {
|
|
6
|
+
/**
|
|
7
|
+
* Descriptive error code (not http status code).
|
|
8
|
+
*/
|
|
9
|
+
code: string;
|
|
10
|
+
/**
|
|
11
|
+
* plaintext error description
|
|
12
|
+
*/
|
|
13
|
+
message: string;
|
|
14
|
+
/**
|
|
15
|
+
* id of individual request
|
|
16
|
+
*/
|
|
17
|
+
requestId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* url that has been called
|
|
20
|
+
*/
|
|
21
|
+
target?: string;
|
|
22
|
+
details?: DetailsErrorResponse[];
|
|
23
|
+
} & Record<string, any>;
|
|
24
|
+
//# sourceMappingURL=api-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-error.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/api-error.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-error.js","sourceRoot":"","sources":["../../../../src/client/api/schema/api-error.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TextOnlyBaseChunk } from './text-only-base-chunk.js';
|
|
2
|
+
import type { DocumentKeyValueListPair } from './document-key-value-list-pair.js';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for documents, document requests and responses.
|
|
5
|
+
*/
|
|
6
|
+
export type BaseDocument = {
|
|
7
|
+
chunks: TextOnlyBaseChunk[];
|
|
8
|
+
metadata: DocumentKeyValueListPair[];
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
//# sourceMappingURL=base-document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-document.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/base-document.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,QAAQ,EAAE,wBAAwB,EAAE,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-document.js","sourceRoot":"","sources":["../../../../src/client/api/schema/base-document.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'Chunk' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type Chunk = {
|
|
6
|
+
id: string;
|
|
7
|
+
content: string;
|
|
8
|
+
/**
|
|
9
|
+
* Default: [].
|
|
10
|
+
*/
|
|
11
|
+
metadata?: KeyValueListPair[];
|
|
12
|
+
} & Record<string, any>;
|
|
13
|
+
//# sourceMappingURL=chunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chunk.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chunk.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-created-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-created-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-created-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-created-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-deleted-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-deleted-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-deleted-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-deleted-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'CollectionPendingResponse' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type CollectionPendingResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Format: "uri".
|
|
7
|
+
*/
|
|
8
|
+
Location: string;
|
|
9
|
+
status: string;
|
|
10
|
+
} & Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=collection-pending-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-pending-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-pending-response.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-pending-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-pending-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { EmbeddingConfig } from './embedding-config.js';
|
|
2
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
3
|
+
/**
|
|
4
|
+
* A request for creating a new, single collection.
|
|
5
|
+
*/
|
|
6
|
+
export type CollectionRequest = {
|
|
7
|
+
title?: string;
|
|
8
|
+
embeddingConfig: EmbeddingConfig;
|
|
9
|
+
/**
|
|
10
|
+
* Metadata attached to collection. Useful to restrict search to a subset of collections.
|
|
11
|
+
* Default: [].
|
|
12
|
+
*/
|
|
13
|
+
metadata?: KeyValueListPair[];
|
|
14
|
+
} & Record<string, any>;
|
|
15
|
+
//# sourceMappingURL=collection-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-request.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection-request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EmbeddingConfig } from './embedding-config.js';
|
|
2
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
3
|
+
/**
|
|
4
|
+
* A logical grouping of content.
|
|
5
|
+
*/
|
|
6
|
+
export type Collection = {
|
|
7
|
+
title?: string;
|
|
8
|
+
embeddingConfig: EmbeddingConfig;
|
|
9
|
+
/**
|
|
10
|
+
* Metadata attached to collection. Useful to restrict search to a subset of collections.
|
|
11
|
+
* Default: [].
|
|
12
|
+
*/
|
|
13
|
+
metadata?: KeyValueListPair[];
|
|
14
|
+
/**
|
|
15
|
+
* Unique identifier of a collection.
|
|
16
|
+
* Format: "uuid".
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
} & Record<string, any>;
|
|
20
|
+
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collection.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collection.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Collection } from './collection.js';
|
|
2
|
+
/**
|
|
3
|
+
* A response containing collections retrieved from the server.
|
|
4
|
+
*/
|
|
5
|
+
export type CollectionsListResponse = {
|
|
6
|
+
resources: Collection[];
|
|
7
|
+
count?: number;
|
|
8
|
+
} & Record<string, any>;
|
|
9
|
+
//# sourceMappingURL=collections-list-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collections-list-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/collections-list-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collections-list-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/collections-list-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DataRepository } from './data-repository.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'DataRepositories' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type DataRepositories = {
|
|
6
|
+
resources: DataRepository[];
|
|
7
|
+
count?: number;
|
|
8
|
+
} & Record<string, any>;
|
|
9
|
+
//# sourceMappingURL=data-repositories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repositories.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repositories.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repositories.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repositories.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repository-type.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repository-type.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-type.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
2
|
+
import type { RetrievalDocument } from './retrieval-document.js';
|
|
3
|
+
/**
|
|
4
|
+
* DataRepository schema returned by the Vector search endpoint
|
|
5
|
+
*/
|
|
6
|
+
export type DataRepositoryWithDocuments = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier of this DataRepository.
|
|
9
|
+
* Format: "uuid".
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories.
|
|
15
|
+
*/
|
|
16
|
+
metadata?: KeyValueListPair[];
|
|
17
|
+
documents: RetrievalDocument[];
|
|
18
|
+
} & Record<string, any>;
|
|
19
|
+
//# sourceMappingURL=data-repository-with-documents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repository-with-documents.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-with-documents.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,SAAS,EAAE,iBAAiB,EAAE,CAAC;CAChC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repository-with-documents.js","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository-with-documents.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
2
|
+
import type { DataRepositoryType } from './data-repository-type.js';
|
|
3
|
+
/**
|
|
4
|
+
* DataRepository schema expected by Retrieval.
|
|
5
|
+
*/
|
|
6
|
+
export type DataRepository = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier of this DataRepository.
|
|
9
|
+
* Format: "uuid".
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories.
|
|
15
|
+
* Default: [].
|
|
16
|
+
*/
|
|
17
|
+
metadata?: KeyValueListPair[];
|
|
18
|
+
type: DataRepositoryType;
|
|
19
|
+
} & Record<string, any>;
|
|
20
|
+
//# sourceMappingURL=data-repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-repository.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/data-repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,IAAI,EAAE,kBAAkB,CAAC;CAC1B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|