@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,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'Pipeline' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type Pipeline = {
|
|
5
|
+
/**
|
|
6
|
+
* @example "uuid"
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @example "MSSharePoint"
|
|
11
|
+
*/
|
|
12
|
+
type?: string;
|
|
13
|
+
configuration?: {
|
|
14
|
+
/**
|
|
15
|
+
* @example "destination-name"
|
|
16
|
+
*/
|
|
17
|
+
destination?: string;
|
|
18
|
+
sharePoint?: {
|
|
19
|
+
site?: {
|
|
20
|
+
/**
|
|
21
|
+
* @example "sharepoint-site-id"
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example "sharepoint-site-name"
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example [
|
|
30
|
+
* "/testFolder1",
|
|
31
|
+
* "testFolder2"
|
|
32
|
+
* ]
|
|
33
|
+
*/
|
|
34
|
+
includePaths?: string[];
|
|
35
|
+
} & Record<string, any>;
|
|
36
|
+
} & Record<string, any>;
|
|
37
|
+
} & Record<string, any>;
|
|
38
|
+
} & Record<string, any>;
|
|
39
|
+
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/pipeline.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE;QACd;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,CAAC,EAAE;YACX,IAAI,CAAC,EAAE;gBACL;;mBAEG;gBACH,EAAE,CAAC,EAAE,MAAM,CAAC;gBACZ;;mBAEG;gBACH,IAAI,CAAC,EAAE,MAAM,CAAC;gBACd;;;;;mBAKG;gBACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;aACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;SACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../../src/client/api/schema/pipeline.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/pipelines.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipelines.js","sourceRoot":"","sources":["../../../../src/client/api/schema/pipelines.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DataRepositoryWithDocuments } from './data-repository-with-documents.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'RetievalDataRepositorySearchResult' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type RetievalDataRepositorySearchResult = {
|
|
6
|
+
dataRepository: DataRepositoryWithDocuments;
|
|
7
|
+
} & Record<string, any>;
|
|
8
|
+
//# sourceMappingURL=retieval-data-repository-search-result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-data-repository-search-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-data-repository-search-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACvF;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C,cAAc,EAAE,2BAA2B,CAAC;CAC7C,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-data-repository-search-result.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-data-repository-search-result.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-per-filter-search-result-with-error.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-per-filter-search-result-with-error.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAAG;IACnD,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-per-filter-search-result-with-error.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-per-filter-search-result-with-error.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RetievalDataRepositorySearchResult } from './retieval-data-repository-search-result.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'RetievalPerFilterSearchResult' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type RetievalPerFilterSearchResult = {
|
|
6
|
+
filterId: string;
|
|
7
|
+
/**
|
|
8
|
+
* List of returned results.
|
|
9
|
+
* Default: [].
|
|
10
|
+
*/
|
|
11
|
+
results?: RetievalDataRepositorySearchResult[];
|
|
12
|
+
} & Record<string, any>;
|
|
13
|
+
//# sourceMappingURL=retieval-per-filter-search-result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-per-filter-search-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-per-filter-search-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AACtG;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,kCAAkC,EAAE,CAAC;CAChD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-per-filter-search-result.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-per-filter-search-result.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RetievalPerFilterSearchResult } from './retieval-per-filter-search-result.js';
|
|
2
|
+
import type { RetievalPerFilterSearchResultWithError } from './retieval-per-filter-search-result-with-error.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'RetievalSearchResults' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type RetievalSearchResults = {
|
|
7
|
+
/**
|
|
8
|
+
* List of returned results.
|
|
9
|
+
*/
|
|
10
|
+
results: (RetievalPerFilterSearchResult | RetievalPerFilterSearchResultWithError)[];
|
|
11
|
+
} & Record<string, any>;
|
|
12
|
+
//# sourceMappingURL=retieval-search-results.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-search-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-search-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,mDAAmD,CAAC;AAChH;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,OAAO,EAAE,CACL,6BAA6B,GAC7B,sCAAsC,CACzC,EAAE,CAAC;CACL,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retieval-search-results.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retieval-search-results.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DocumentKeyValueListPair } from './document-key-value-list-pair.js';
|
|
2
|
+
import type { Chunk } from './chunk.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'RetrievalDocument' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type RetrievalDocument = {
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Default: [].
|
|
10
|
+
*/
|
|
11
|
+
metadata?: DocumentKeyValueListPair[];
|
|
12
|
+
chunks: Chunk[];
|
|
13
|
+
} & Record<string, any>;
|
|
14
|
+
//# sourceMappingURL=retrieval-document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-document.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-document.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACtC,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-document.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-document.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { SearchConfiguration } from './search-configuration.js';
|
|
2
|
+
import type { DataRepositoryType } from './data-repository-type.js';
|
|
3
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
4
|
+
import type { SearchDocumentKeyValueListPair } from './search-document-key-value-list-pair.js';
|
|
5
|
+
/**
|
|
6
|
+
* Limit scope of search to certain DataRepositories, Documents or Chunks.
|
|
7
|
+
*/
|
|
8
|
+
export type RetrievalSearchFilter = {
|
|
9
|
+
/**
|
|
10
|
+
* Identifier of this SearchFilter - unique per request.
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
searchConfiguration?: SearchConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Specify ['*'] to search across all DataRepositories or give a specific list of DataRepository ids.
|
|
16
|
+
* Default: [
|
|
17
|
+
* "*"
|
|
18
|
+
* ].
|
|
19
|
+
*/
|
|
20
|
+
dataRepositories?: string[];
|
|
21
|
+
dataRepositoryType: DataRepositoryType;
|
|
22
|
+
/**
|
|
23
|
+
* Restrict DataRepositories considered during search to those annotated with the given metadata. Useful when combined with dataRepositories=['*']
|
|
24
|
+
* Default: [].
|
|
25
|
+
*/
|
|
26
|
+
dataRepositoryMetadata?: KeyValueListPair[];
|
|
27
|
+
/**
|
|
28
|
+
* Restrict documents considered during search to those annotated with the given metadata.
|
|
29
|
+
* Default: [].
|
|
30
|
+
*/
|
|
31
|
+
documentMetadata?: SearchDocumentKeyValueListPair[];
|
|
32
|
+
/**
|
|
33
|
+
* Restrict chunks considered during search to those with the given metadata.
|
|
34
|
+
* Default: [].
|
|
35
|
+
*/
|
|
36
|
+
chunkMetadata?: KeyValueListPair[];
|
|
37
|
+
} & Record<string, any>;
|
|
38
|
+
//# sourceMappingURL=retrieval-search-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-search-filter.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-search-filter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC/F;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC;;;OAGG;IACH,sBAAsB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IACpD;;;OAGG;IACH,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-search-filter.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-search-filter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RetrievalSearchFilter } from './retrieval-search-filter.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'RetrievalSearchInput' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type RetrievalSearchInput = {
|
|
6
|
+
/**
|
|
7
|
+
* Query string
|
|
8
|
+
* Min Length: 1.
|
|
9
|
+
*/
|
|
10
|
+
query: string;
|
|
11
|
+
filters: RetrievalSearchFilter[];
|
|
12
|
+
} & Record<string, any>;
|
|
13
|
+
//# sourceMappingURL=retrieval-search-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-search-input.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-search-input.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,qBAAqB,EAAE,CAAC;CAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieval-search-input.js","sourceRoot":"","sources":["../../../../src/client/api/schema/retrieval-search-input.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'SearchConfiguration' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type SearchConfiguration = {
|
|
5
|
+
/**
|
|
6
|
+
* Maximum number of chunks to be returned. Cannot be used with 'maxDocumentCount'.
|
|
7
|
+
*/
|
|
8
|
+
maxChunkCount?: number;
|
|
9
|
+
/**
|
|
10
|
+
* [Only supports 'vector' dataRepositoryType] - Maximum number of documents to be returned. Cannot be used with 'maxChunkCount'. If maxDocumentCount is given, then only one chunk per document is returned.
|
|
11
|
+
*/
|
|
12
|
+
maxDocumentCount?: number;
|
|
13
|
+
} & Record<string, any>;
|
|
14
|
+
//# sourceMappingURL=search-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-configuration.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/search-configuration.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-configuration.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-configuration.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SearchSelectOptionEnum } from './search-select-option-enum.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'SearchDocumentKeyValueListPair' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type SearchDocumentKeyValueListPair = {
|
|
6
|
+
/**
|
|
7
|
+
* Max Length: 1024.
|
|
8
|
+
*/
|
|
9
|
+
key: string;
|
|
10
|
+
value: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Select mode for search filters
|
|
13
|
+
*/
|
|
14
|
+
selectMode?: SearchSelectOptionEnum[];
|
|
15
|
+
} & Record<string, any>;
|
|
16
|
+
//# sourceMappingURL=search-document-key-value-list-pair.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-document-key-value-list-pair.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/search-document-key-value-list-pair.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACvC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-document-key-value-list-pair.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-document-key-value-list-pair.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SearchConfiguration } from './search-configuration.js';
|
|
2
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
3
|
+
import type { SearchDocumentKeyValueListPair } from './search-document-key-value-list-pair.js';
|
|
4
|
+
/**
|
|
5
|
+
* Representation of the 'SearchFilter' schema.
|
|
6
|
+
*/
|
|
7
|
+
export type SearchFilter = {
|
|
8
|
+
/**
|
|
9
|
+
* Identifier of this SearchFilter - unique per request.
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
collectionIds: string[];
|
|
13
|
+
configuration: SearchConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Restrict collections considered during search to those annotated with the given metadata. Useful when combined with collections=['*']
|
|
16
|
+
* Default: [].
|
|
17
|
+
* Max Items: 2000.
|
|
18
|
+
*/
|
|
19
|
+
collectionMetadata?: KeyValueListPair[];
|
|
20
|
+
/**
|
|
21
|
+
* Restrict documents considered during search to those annotated with the given metadata.
|
|
22
|
+
* Default: [].
|
|
23
|
+
* Max Items: 2000.
|
|
24
|
+
*/
|
|
25
|
+
documentMetadata?: SearchDocumentKeyValueListPair[];
|
|
26
|
+
/**
|
|
27
|
+
* Restrict chunks considered during search to those with the given metadata.
|
|
28
|
+
* Default: [].
|
|
29
|
+
* Max Items: 2000.
|
|
30
|
+
*/
|
|
31
|
+
chunkMetadata?: KeyValueListPair[];
|
|
32
|
+
} & Record<string, any>;
|
|
33
|
+
//# sourceMappingURL=search-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-filter.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/search-filter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC/F;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,mBAAmB,CAAC;IACnC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACxC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IACpD;;;;OAIG;IACH,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACpC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-filter.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-filter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PerFilterSearchResult } from './per-filter-search-result.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'SearchResults' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type SearchResults = {
|
|
6
|
+
/**
|
|
7
|
+
* List of returned results.
|
|
8
|
+
*/
|
|
9
|
+
results: PerFilterSearchResult[];
|
|
10
|
+
} & Record<string, any>;
|
|
11
|
+
//# sourceMappingURL=search-results.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/search-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,OAAO,EAAE,qBAAqB,EAAE,CAAC;CAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-results.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-results.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-select-option-enum.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/search-select-option-enum.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-select-option-enum.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-select-option-enum.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { KeyValueListPair } from './key-value-list-pair.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'TextOnlyBaseChunk' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type TextOnlyBaseChunk = {
|
|
6
|
+
content: string;
|
|
7
|
+
metadata: KeyValueListPair[];
|
|
8
|
+
} & Record<string, any>;
|
|
9
|
+
//# sourceMappingURL=text-only-base-chunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-only-base-chunk.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/text-only-base-chunk.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;CAC9B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-only-base-chunk.js","sourceRoot":"","sources":["../../../../src/client/api/schema/text-only-base-chunk.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SearchFilter } from './search-filter.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'TextSearchRequest' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type TextSearchRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Query string
|
|
8
|
+
* Max Length: 2000.
|
|
9
|
+
* Min Length: 1.
|
|
10
|
+
*/
|
|
11
|
+
query: string;
|
|
12
|
+
filters: SearchFilter[];
|
|
13
|
+
} & Record<string, any>;
|
|
14
|
+
//# sourceMappingURL=text-search-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-search-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/text-search-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-search-request.js","sourceRoot":"","sources":["../../../../src/client/api/schema/text-search-request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
+
import type { TextSearchRequest, SearchResults } from './schema/index.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'SearchApi'.
|
|
5
|
+
* This API is part of the 'api' service.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SearchApi: {
|
|
8
|
+
/**
|
|
9
|
+
* Search chunk by vector
|
|
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
|
+
vectorV1VectorEndpointsSearchChunk: (body: TextSearchRequest, headerParameters: {
|
|
15
|
+
"AI-Resource-Group": string;
|
|
16
|
+
}) => OpenApiRequestBuilder<SearchResults>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=search-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/search-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB;;;;;OAKG;+CAEK,iBAAiB,oBACL;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 'SearchApi'.
|
|
9
|
+
* This API is part of the 'api' service.
|
|
10
|
+
*/
|
|
11
|
+
export const SearchApi = {
|
|
12
|
+
/**
|
|
13
|
+
* Search chunk by vector
|
|
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
|
+
vectorV1VectorEndpointsSearchChunk: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/vector/search', {
|
|
19
|
+
body,
|
|
20
|
+
headerParameters
|
|
21
|
+
})
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=search-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../../../src/client/api/search-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB;;;;;OAKG;IACH,kCAAkC,EAAE,CAClC,IAAuB,EACvB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,sCAAsC,EACtC;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;CACJ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
package/dist/internal.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
package/internal.d.ts
ADDED
package/internal.js
ADDED