@sap-ai-sdk/document-grounding 1.4.1-20250103013104.0 → 1.4.1-20250105013116.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/README.md +24 -28
- package/dist/client/api/index.d.ts +2 -5
- package/dist/client/api/index.d.ts.map +1 -1
- package/dist/client/api/index.js +3 -6
- package/dist/client/api/index.js.map +1 -1
- package/dist/client/api/pipelines-api.d.ts +6 -5
- package/dist/client/api/pipelines-api.d.ts.map +1 -1
- package/dist/client/api/pipelines-api.js +12 -11
- package/dist/client/api/pipelines-api.js.map +1 -1
- package/dist/client/api/{retrieval-data-repository-api.d.ts → retrieval-api.d.ts} +16 -6
- package/dist/client/api/retrieval-api.d.ts.map +1 -0
- package/dist/client/api/retrieval-api.js +44 -0
- package/dist/client/api/retrieval-api.js.map +1 -0
- package/dist/client/api/schema/collection-created-response.js +1 -1
- package/dist/client/api/schema/collection-deleted-response.js +1 -1
- package/dist/client/api/schema/collection-pending-response.js +1 -1
- package/dist/client/api/schema/data-repository-type.js +1 -1
- package/dist/client/api/schema/details-error-response.js +1 -1
- package/dist/client/api/schema/document-key-value-list-pair.js +1 -1
- package/dist/client/api/schema/embedding-config.js +1 -1
- package/dist/client/api/schema/index.js +1 -1
- package/dist/client/api/schema/key-value-list-pair.js +1 -1
- package/dist/client/api/schema/pipeline-id.js +1 -1
- package/dist/client/api/schema/pipeline-post-requst.js +1 -1
- package/dist/client/api/schema/pipeline-status.js +1 -1
- package/dist/client/api/schema/pipeline.js +1 -1
- package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js +1 -1
- package/dist/client/api/schema/search-configuration.js +1 -1
- package/dist/client/api/schema/search-select-option-enum.js +1 -1
- package/dist/client/api/vector-api.d.ts +131 -0
- package/dist/client/api/vector-api.d.ts.map +1 -0
- package/dist/client/api/vector-api.js +142 -0
- package/dist/client/api/vector-api.js.map +1 -0
- package/package.json +3 -3
- package/dist/client/api/collections-api.d.ts +0 -67
- package/dist/client/api/collections-api.d.ts.map +0 -1
- package/dist/client/api/collections-api.js +0 -73
- package/dist/client/api/collections-api.js.map +0 -1
- package/dist/client/api/documents-api.d.ts +0 -63
- package/dist/client/api/documents-api.d.ts.map +0 -1
- package/dist/client/api/documents-api.js +0 -71
- package/dist/client/api/documents-api.js.map +0 -1
- package/dist/client/api/retrieval-data-repository-api.d.ts.map +0 -1
- package/dist/client/api/retrieval-data-repository-api.js +0 -33
- package/dist/client/api/retrieval-data-repository-api.js.map +0 -1
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts +0 -18
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts.map +0 -1
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js +0 -23
- package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js.map +0 -1
- package/dist/client/api/search-api.d.ts +0 -18
- package/dist/client/api/search-api.d.ts.map +0 -1
- package/dist/client/api/search-api.js +0 -23
- package/dist/client/api/search-api.js.map +0 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025 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 'VectorApi'.
|
|
9
|
+
* This API is part of the 'api' service.
|
|
10
|
+
*/
|
|
11
|
+
export const VectorApi = {
|
|
12
|
+
_defaultBasePath: '/lm/document-grounding',
|
|
13
|
+
/**
|
|
14
|
+
* Gets a list of collections.
|
|
15
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
16
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
17
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
18
|
+
*/
|
|
19
|
+
getAllCollections: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections', {
|
|
20
|
+
queryParameters,
|
|
21
|
+
headerParameters
|
|
22
|
+
}, VectorApi._defaultBasePath),
|
|
23
|
+
/**
|
|
24
|
+
* Creates a collection. This operation is asynchronous. Poll the collection resource and check the status field to understand creation status.
|
|
25
|
+
* @param body - Request body.
|
|
26
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
27
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
28
|
+
*/
|
|
29
|
+
createCollection: (body, headerParameters) => new OpenApiRequestBuilder('post', '/vector/collections', {
|
|
30
|
+
body,
|
|
31
|
+
headerParameters
|
|
32
|
+
}, VectorApi._defaultBasePath),
|
|
33
|
+
/**
|
|
34
|
+
* Gets a specific collection by ID.
|
|
35
|
+
* @param collectionId - Path parameter.
|
|
36
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
37
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
38
|
+
*/
|
|
39
|
+
getCollectionById: (collectionId, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections/{collectionId}', {
|
|
40
|
+
pathParameters: { collectionId },
|
|
41
|
+
headerParameters
|
|
42
|
+
}, VectorApi._defaultBasePath),
|
|
43
|
+
/**
|
|
44
|
+
* Deletes a specific collection by ID. This operation is asynchronous. Poll the collection for a 404 status code.
|
|
45
|
+
* @param collectionId - Path parameter.
|
|
46
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
47
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
48
|
+
*/
|
|
49
|
+
deleteCollectionById: (collectionId, headerParameters) => new OpenApiRequestBuilder('delete', '/vector/collections/{collectionId}', {
|
|
50
|
+
pathParameters: { collectionId },
|
|
51
|
+
headerParameters
|
|
52
|
+
}, VectorApi._defaultBasePath),
|
|
53
|
+
/**
|
|
54
|
+
* Gets a specific document in a collection by ID.
|
|
55
|
+
* @param collectionId - Path parameter.
|
|
56
|
+
* @param documentId - Path parameter.
|
|
57
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
58
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
59
|
+
*/
|
|
60
|
+
getDocumentById: (collectionId, documentId, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections/{collectionId}/documents/{documentId}', {
|
|
61
|
+
pathParameters: { collectionId, documentId },
|
|
62
|
+
headerParameters
|
|
63
|
+
}, VectorApi._defaultBasePath),
|
|
64
|
+
/**
|
|
65
|
+
* Deletes a specific document of a collection.
|
|
66
|
+
* @param collectionId - Path parameter.
|
|
67
|
+
* @param documentId - Path parameter.
|
|
68
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
69
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
70
|
+
*/
|
|
71
|
+
deleteDocumentById: (collectionId, documentId, headerParameters) => new OpenApiRequestBuilder('delete', '/vector/collections/{collectionId}/documents/{documentId}', {
|
|
72
|
+
pathParameters: { collectionId, documentId },
|
|
73
|
+
headerParameters
|
|
74
|
+
}, VectorApi._defaultBasePath),
|
|
75
|
+
/**
|
|
76
|
+
* Gets a list of documents of a collection.
|
|
77
|
+
* @param collectionId - Path parameter.
|
|
78
|
+
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
79
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
80
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
81
|
+
*/
|
|
82
|
+
getAllDocuments: (collectionId, queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections/{collectionId}/documents', {
|
|
83
|
+
pathParameters: { collectionId },
|
|
84
|
+
queryParameters,
|
|
85
|
+
headerParameters
|
|
86
|
+
}, VectorApi._defaultBasePath),
|
|
87
|
+
/**
|
|
88
|
+
* Create and stores one or multiple documents into a collection. If omitted, 'id' will be auto-generated.
|
|
89
|
+
* @param collectionId - Path parameter.
|
|
90
|
+
* @param body - Request body.
|
|
91
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
92
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
93
|
+
*/
|
|
94
|
+
createDocuments: (collectionId, body, headerParameters) => new OpenApiRequestBuilder('post', '/vector/collections/{collectionId}/documents', {
|
|
95
|
+
pathParameters: { collectionId },
|
|
96
|
+
body,
|
|
97
|
+
headerParameters
|
|
98
|
+
}, VectorApi._defaultBasePath),
|
|
99
|
+
/**
|
|
100
|
+
* Upserts the data of multiple documents into a collection.
|
|
101
|
+
* @param collectionId - Path parameter.
|
|
102
|
+
* @param body - Request body.
|
|
103
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
104
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
105
|
+
*/
|
|
106
|
+
updateDocuments: (collectionId, body, headerParameters) => new OpenApiRequestBuilder('patch', '/vector/collections/{collectionId}/documents', {
|
|
107
|
+
pathParameters: { collectionId },
|
|
108
|
+
body,
|
|
109
|
+
headerParameters
|
|
110
|
+
}, VectorApi._defaultBasePath),
|
|
111
|
+
/**
|
|
112
|
+
* Search chunk by vector
|
|
113
|
+
* @param body - Request body.
|
|
114
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
115
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
116
|
+
*/
|
|
117
|
+
search: (body, headerParameters) => new OpenApiRequestBuilder('post', '/vector/search', {
|
|
118
|
+
body,
|
|
119
|
+
headerParameters
|
|
120
|
+
}, VectorApi._defaultBasePath),
|
|
121
|
+
/**
|
|
122
|
+
* Gets a specific collection status from monitor by ID.
|
|
123
|
+
* @param id - Path parameter.
|
|
124
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
125
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
126
|
+
*/
|
|
127
|
+
getCollectionCreationStatus: (id, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections/{id}/creationStatus', {
|
|
128
|
+
pathParameters: { id },
|
|
129
|
+
headerParameters
|
|
130
|
+
}, VectorApi._defaultBasePath),
|
|
131
|
+
/**
|
|
132
|
+
* Gets a specific collection status from monitor by ID.
|
|
133
|
+
* @param id - Path parameter.
|
|
134
|
+
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
135
|
+
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
136
|
+
*/
|
|
137
|
+
getCollectionDeletionStatus: (id, headerParameters) => new OpenApiRequestBuilder('get', '/vector/collections/{id}/deletionStatus', {
|
|
138
|
+
pathParameters: { id },
|
|
139
|
+
headerParameters
|
|
140
|
+
}, VectorApi._defaultBasePath)
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=vector-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vector-api.js","sourceRoot":"","sources":["../../../src/client/api/vector-api.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/document-grounding",
|
|
3
|
-
"version": "1.4.1-
|
|
3
|
+
"version": "1.4.1-20250105013116.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"internal.d.ts"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sap-ai-sdk/core": "^1.4.1-
|
|
23
|
+
"@sap-ai-sdk/core": "^1.4.1-20250105013116.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"compile": "tsc",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
29
29
|
"lint": "eslint . && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -c",
|
|
30
30
|
"lint:fix": "eslint . --fix && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -w --log-level error",
|
|
31
|
-
"generate": "openapi-generator --generateESM --clearOutputDir -i ./src/spec/api.yaml -o ./src/client && pnpm update-imports && pnpm lint:fix",
|
|
31
|
+
"generate": "openapi-generator --generateESM --clearOutputDir -i ./src/spec/api.yaml -o ./src/client -s ./src/spec/options-per-service.json && pnpm update-imports && pnpm lint:fix",
|
|
32
32
|
"update-imports": "node --no-warnings --loader ts-node/esm ../../scripts/update-imports.ts ./src/client/api"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
-
import type { CollectionsListResponse, CollectionRequest, Collection, CollectionCreatedResponse, CollectionPendingResponse, CollectionDeletedResponse } from './schema/index.js';
|
|
3
|
-
/**
|
|
4
|
-
* Representation of the 'CollectionsApi'.
|
|
5
|
-
* This API is part of the 'api' service.
|
|
6
|
-
*/
|
|
7
|
-
export declare const CollectionsApi: {
|
|
8
|
-
/**
|
|
9
|
-
* Gets a list of collections.
|
|
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
|
-
vectorV1VectorEndpointsGetAllCollections: (queryParameters: {
|
|
15
|
-
$top?: number;
|
|
16
|
-
$skip?: number;
|
|
17
|
-
$count?: boolean;
|
|
18
|
-
}, headerParameters: {
|
|
19
|
-
"AI-Resource-Group": string;
|
|
20
|
-
}) => OpenApiRequestBuilder<CollectionsListResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* Creates a collection. This operation is asynchronous. Poll the collection resource and check the status field to understand creation status.
|
|
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
|
-
vectorV1VectorEndpointsCreateCollection: (body: CollectionRequest, headerParameters: {
|
|
28
|
-
"AI-Resource-Group": string;
|
|
29
|
-
}) => OpenApiRequestBuilder<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Gets a specific collection by ID.
|
|
32
|
-
* @param collectionId - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsGetCollectionById: (collectionId: string, headerParameters: {
|
|
37
|
-
"AI-Resource-Group": string;
|
|
38
|
-
}) => OpenApiRequestBuilder<Collection>;
|
|
39
|
-
/**
|
|
40
|
-
* Deletes a specific collection by ID. This operation is asynchronous. Poll the collection for a 404 status code.
|
|
41
|
-
* @param collectionId - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsDeleteCollection: (collectionId: string, headerParameters: {
|
|
46
|
-
"AI-Resource-Group": string;
|
|
47
|
-
}) => OpenApiRequestBuilder<any>;
|
|
48
|
-
/**
|
|
49
|
-
* Gets a specific collection status from monitor by ID.
|
|
50
|
-
* @param id - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsGetCollectionCreationStatus: (id: string, headerParameters: {
|
|
55
|
-
"AI-Resource-Group": string;
|
|
56
|
-
}) => OpenApiRequestBuilder<CollectionCreatedResponse | CollectionPendingResponse>;
|
|
57
|
-
/**
|
|
58
|
-
* Gets a specific collection status from monitor by ID.
|
|
59
|
-
* @param id - Path parameter.
|
|
60
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
61
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
62
|
-
*/
|
|
63
|
-
vectorV1VectorEndpointsGetCollectionDeletionStatus: (id: string, headerParameters: {
|
|
64
|
-
"AI-Resource-Group": string;
|
|
65
|
-
}) => OpenApiRequestBuilder<CollectionPendingResponse | CollectionDeletedResponse>;
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=collections-api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collections-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/collections-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,uBAAuB,EACvB,iBAAiB,EACjB,UAAU,EACV,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB;;;;;OAKG;gEAEgB;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;oDAEK,iBAAiB,oBACL;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;6DAEa,MAAM,oBACF;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;4DAEa,MAAM,oBACF;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;OAKG;6DAEG,MAAM,oBACQ;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAQnD;;;;;OAKG;6DAEG,MAAM,oBACQ;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAQpD,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
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 'CollectionsApi'.
|
|
9
|
-
* This API is part of the 'api' service.
|
|
10
|
-
*/
|
|
11
|
-
export const CollectionsApi = {
|
|
12
|
-
/**
|
|
13
|
-
* Gets a list of collections.
|
|
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
|
-
vectorV1VectorEndpointsGetAllCollections: (queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections', {
|
|
19
|
-
queryParameters,
|
|
20
|
-
headerParameters
|
|
21
|
-
}),
|
|
22
|
-
/**
|
|
23
|
-
* Creates a collection. This operation is asynchronous. Poll the collection resource and check the status field to understand creation status.
|
|
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
|
-
vectorV1VectorEndpointsCreateCollection: (body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/vector/collections', {
|
|
29
|
-
body,
|
|
30
|
-
headerParameters
|
|
31
|
-
}),
|
|
32
|
-
/**
|
|
33
|
-
* Gets a specific collection by ID.
|
|
34
|
-
* @param collectionId - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsGetCollectionById: (collectionId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections/{collectionId}', {
|
|
39
|
-
pathParameters: { collectionId },
|
|
40
|
-
headerParameters
|
|
41
|
-
}),
|
|
42
|
-
/**
|
|
43
|
-
* Deletes a specific collection by ID. This operation is asynchronous. Poll the collection for a 404 status code.
|
|
44
|
-
* @param collectionId - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsDeleteCollection: (collectionId, headerParameters) => new OpenApiRequestBuilder('delete', '/lm/document-grounding/vector/collections/{collectionId}', {
|
|
49
|
-
pathParameters: { collectionId },
|
|
50
|
-
headerParameters
|
|
51
|
-
}),
|
|
52
|
-
/**
|
|
53
|
-
* Gets a specific collection status from monitor by ID.
|
|
54
|
-
* @param id - Path parameter.
|
|
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
|
-
vectorV1VectorEndpointsGetCollectionCreationStatus: (id, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections/{id}/creationStatus', {
|
|
59
|
-
pathParameters: { id },
|
|
60
|
-
headerParameters
|
|
61
|
-
}),
|
|
62
|
-
/**
|
|
63
|
-
* Gets a specific collection status from monitor by ID.
|
|
64
|
-
* @param id - Path parameter.
|
|
65
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
66
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
67
|
-
*/
|
|
68
|
-
vectorV1VectorEndpointsGetCollectionDeletionStatus: (id, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections/{id}/deletionStatus', {
|
|
69
|
-
pathParameters: { id },
|
|
70
|
-
headerParameters
|
|
71
|
-
})
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=collections-api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collections-api.js","sourceRoot":"","sources":["../../../src/client/api/collections-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AASzD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B;;;;;OAKG;IACH,wCAAwC,EAAE,CACxC,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,2CAA2C,EAC3C;QACE,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,uCAAuC,EAAE,CACvC,IAAuB,EACvB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,2CAA2C,EAC3C;QACE,IAAI;QACJ,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,wCAAwC,EAAE,CACxC,YAAoB,EACpB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,0DAA0D,EAC1D;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,uCAAuC,EAAE,CACvC,YAAoB,EACpB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,QAAQ,EACR,0DAA0D,EAC1D;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,gBAAgB;KACjB,CACF;IACH;;;;;OAKG;IACH,kDAAkD,EAAE,CAClD,EAAU,EACV,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CAEvB,KAAK,EAAE,+DAA+D,EAAE;QACxE,cAAc,EAAE,EAAE,EAAE,EAAE;QACtB,gBAAgB;KACjB,CAAC;IACJ;;;;;OAKG;IACH,kDAAkD,EAAE,CAClD,EAAU,EACV,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CAEvB,KAAK,EAAE,+DAA+D,EAAE;QACxE,cAAc,EAAE,EAAE,EAAE,EAAE;QACtB,gBAAgB;KACjB,CAAC;CACL,CAAC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
|
|
2
|
-
import type { DocumentResponse, Documents, DocumentCreateRequest, DocumentsListResponse, DocumentUpdateRequest } from './schema/index.js';
|
|
3
|
-
/**
|
|
4
|
-
* Representation of the 'DocumentsApi'.
|
|
5
|
-
* This API is part of the 'api' service.
|
|
6
|
-
*/
|
|
7
|
-
export declare const DocumentsApi: {
|
|
8
|
-
/**
|
|
9
|
-
* Gets a specific document in a collection by ID.
|
|
10
|
-
* @param collectionId - Path parameter.
|
|
11
|
-
* @param documentId - Path parameter.
|
|
12
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
13
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
14
|
-
*/
|
|
15
|
-
vectorV1VectorEndpointsGetDocumentById: (collectionId: string, documentId: string, headerParameters: {
|
|
16
|
-
"AI-Resource-Group": string;
|
|
17
|
-
}) => OpenApiRequestBuilder<DocumentResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Deletes a specific document of a collection.
|
|
20
|
-
* @param collectionId - Path parameter.
|
|
21
|
-
* @param documentId - Path parameter.
|
|
22
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
23
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
24
|
-
*/
|
|
25
|
-
vectorV1VectorEndpointsDeleteDocument: (collectionId: string, documentId: string, headerParameters: {
|
|
26
|
-
"AI-Resource-Group": string;
|
|
27
|
-
}) => OpenApiRequestBuilder<any>;
|
|
28
|
-
/**
|
|
29
|
-
* Gets a list of documents of a collection.
|
|
30
|
-
* @param collectionId - Path parameter.
|
|
31
|
-
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
32
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
33
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
34
|
-
*/
|
|
35
|
-
vectorV1VectorEndpointsGetAllDocuments: (collectionId: string, queryParameters: {
|
|
36
|
-
$top?: number;
|
|
37
|
-
$skip?: number;
|
|
38
|
-
$count?: boolean;
|
|
39
|
-
}, headerParameters: {
|
|
40
|
-
"AI-Resource-Group": string;
|
|
41
|
-
}) => OpenApiRequestBuilder<Documents>;
|
|
42
|
-
/**
|
|
43
|
-
* Create and stores one or multiple documents into a collection. If omitted, 'id' will be auto-generated.
|
|
44
|
-
* @param collectionId - Path parameter.
|
|
45
|
-
* @param body - Request body.
|
|
46
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
47
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
48
|
-
*/
|
|
49
|
-
vectorV1VectorEndpointsCreateDocuments: (collectionId: string, body: DocumentCreateRequest, headerParameters: {
|
|
50
|
-
"AI-Resource-Group": string;
|
|
51
|
-
}) => OpenApiRequestBuilder<DocumentsListResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* Upserts the data of multiple documents into a collection.
|
|
54
|
-
* @param collectionId - Path parameter.
|
|
55
|
-
* @param body - Request body.
|
|
56
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
57
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
58
|
-
*/
|
|
59
|
-
vectorV1VectorEndpointsUpdateDocuments: (collectionId: string, body: DocumentUpdateRequest, headerParameters: {
|
|
60
|
-
"AI-Resource-Group": string;
|
|
61
|
-
}) => OpenApiRequestBuilder<DocumentsListResponse>;
|
|
62
|
-
};
|
|
63
|
-
//# sourceMappingURL=documents-api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documents-api.d.ts","sourceRoot":"","sources":["../../../src/client/api/documents-api.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EACV,gBAAgB,EAChB,SAAS,EACT,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;;OAMG;2DAEa,MAAM,cACR,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;;OAMG;0DAEa,MAAM,cACR,MAAM,oBACA;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAUnD;;;;;;OAMG;2DAEa,MAAM,mBACH;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;IAWnD;;;;;;OAMG;2DAEa,MAAM,QACd,qBAAqB,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;IAWnD;;;;;;OAMG;2DAEa,MAAM,QACd,qBAAqB,oBACT;QAAE,mBAAmB,EAAE,MAAM,CAAA;KAAE;CAWpD,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
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 'DocumentsApi'.
|
|
9
|
-
* This API is part of the 'api' service.
|
|
10
|
-
*/
|
|
11
|
-
export const DocumentsApi = {
|
|
12
|
-
/**
|
|
13
|
-
* Gets a specific document in a collection by ID.
|
|
14
|
-
* @param collectionId - Path parameter.
|
|
15
|
-
* @param documentId - Path parameter.
|
|
16
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
17
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
18
|
-
*/
|
|
19
|
-
vectorV1VectorEndpointsGetDocumentById: (collectionId, documentId, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections/{collectionId}/documents/{documentId}', {
|
|
20
|
-
pathParameters: { collectionId, documentId },
|
|
21
|
-
headerParameters
|
|
22
|
-
}),
|
|
23
|
-
/**
|
|
24
|
-
* Deletes a specific document of a collection.
|
|
25
|
-
* @param collectionId - Path parameter.
|
|
26
|
-
* @param documentId - Path parameter.
|
|
27
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
28
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
29
|
-
*/
|
|
30
|
-
vectorV1VectorEndpointsDeleteDocument: (collectionId, documentId, headerParameters) => new OpenApiRequestBuilder('delete', '/lm/document-grounding/vector/collections/{collectionId}/documents/{documentId}', {
|
|
31
|
-
pathParameters: { collectionId, documentId },
|
|
32
|
-
headerParameters
|
|
33
|
-
}),
|
|
34
|
-
/**
|
|
35
|
-
* Gets a list of documents of a collection.
|
|
36
|
-
* @param collectionId - Path parameter.
|
|
37
|
-
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
|
|
38
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
39
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
40
|
-
*/
|
|
41
|
-
vectorV1VectorEndpointsGetAllDocuments: (collectionId, queryParameters, headerParameters) => new OpenApiRequestBuilder('get', '/lm/document-grounding/vector/collections/{collectionId}/documents', {
|
|
42
|
-
pathParameters: { collectionId },
|
|
43
|
-
queryParameters,
|
|
44
|
-
headerParameters
|
|
45
|
-
}),
|
|
46
|
-
/**
|
|
47
|
-
* Create and stores one or multiple documents into a collection. If omitted, 'id' will be auto-generated.
|
|
48
|
-
* @param collectionId - Path parameter.
|
|
49
|
-
* @param body - Request body.
|
|
50
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
51
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
52
|
-
*/
|
|
53
|
-
vectorV1VectorEndpointsCreateDocuments: (collectionId, body, headerParameters) => new OpenApiRequestBuilder('post', '/lm/document-grounding/vector/collections/{collectionId}/documents', {
|
|
54
|
-
pathParameters: { collectionId },
|
|
55
|
-
body,
|
|
56
|
-
headerParameters
|
|
57
|
-
}),
|
|
58
|
-
/**
|
|
59
|
-
* Upserts the data of multiple documents into a collection.
|
|
60
|
-
* @param collectionId - Path parameter.
|
|
61
|
-
* @param body - Request body.
|
|
62
|
-
* @param headerParameters - Object containing the following keys: AI-Resource-Group.
|
|
63
|
-
* @returns The request builder, use the `execute()` method to trigger the request.
|
|
64
|
-
*/
|
|
65
|
-
vectorV1VectorEndpointsUpdateDocuments: (collectionId, body, headerParameters) => new OpenApiRequestBuilder('patch', '/lm/document-grounding/vector/collections/{collectionId}/documents', {
|
|
66
|
-
pathParameters: { collectionId },
|
|
67
|
-
body,
|
|
68
|
-
headerParameters
|
|
69
|
-
})
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=documents-api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documents-api.js","sourceRoot":"","sources":["../../../src/client/api/documents-api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAQzD;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;;;;;;OAMG;IACH,sCAAsC,EAAE,CACtC,YAAoB,EACpB,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,iFAAiF,EACjF;QACE,cAAc,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE;QAC5C,gBAAgB;KACjB,CACF;IACH;;;;;;OAMG;IACH,qCAAqC,EAAE,CACrC,YAAoB,EACpB,UAAkB,EAClB,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,QAAQ,EACR,iFAAiF,EACjF;QACE,cAAc,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE;QAC5C,gBAAgB;KACjB,CACF;IACH;;;;;;OAMG;IACH,sCAAsC,EAAE,CACtC,YAAoB,EACpB,eAAoE,EACpE,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,KAAK,EACL,oEAAoE,EACpE;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,eAAe;QACf,gBAAgB;KACjB,CACF;IACH;;;;;;OAMG;IACH,sCAAsC,EAAE,CACtC,YAAoB,EACpB,IAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,MAAM,EACN,oEAAoE,EACpE;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,IAAI;QACJ,gBAAgB;KACjB,CACF;IACH;;;;;;OAMG;IACH,sCAAsC,EAAE,CACtC,YAAoB,EACpB,IAA2B,EAC3B,gBAAiD,EACjD,EAAE,CACF,IAAI,qBAAqB,CACvB,OAAO,EACP,oEAAoE,EACpE;QACE,cAAc,EAAE,EAAE,YAAY,EAAE;QAChC,IAAI;QACJ,gBAAgB;KACjB,CACF;CACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|