@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.
Files changed (229) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +119 -0
  3. package/dist/client/api/collections-api.d.ts +67 -0
  4. package/dist/client/api/collections-api.d.ts.map +1 -0
  5. package/dist/client/api/collections-api.js +73 -0
  6. package/dist/client/api/collections-api.js.map +1 -0
  7. package/dist/client/api/documents-api.d.ts +63 -0
  8. package/dist/client/api/documents-api.d.ts.map +1 -0
  9. package/dist/client/api/documents-api.js +71 -0
  10. package/dist/client/api/documents-api.js.map +1 -0
  11. package/dist/client/api/index.d.ts +8 -0
  12. package/dist/client/api/index.d.ts.map +1 -0
  13. package/dist/client/api/index.js +13 -0
  14. package/dist/client/api/index.js.map +1 -0
  15. package/dist/client/api/pipelines-api.d.ts +58 -0
  16. package/dist/client/api/pipelines-api.d.ts.map +1 -0
  17. package/dist/client/api/pipelines-api.js +63 -0
  18. package/dist/client/api/pipelines-api.js.map +1 -0
  19. package/dist/client/api/retrieval-data-repository-api.d.ts +31 -0
  20. package/dist/client/api/retrieval-data-repository-api.d.ts.map +1 -0
  21. package/dist/client/api/retrieval-data-repository-api.js +33 -0
  22. package/dist/client/api/retrieval-data-repository-api.js.map +1 -0
  23. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts +18 -0
  24. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.d.ts.map +1 -0
  25. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js +23 -0
  26. package/dist/client/api/retrieval-federated-search-across-data-repositories-api.js.map +1 -0
  27. package/dist/client/api/schema/api-error.d.ts +24 -0
  28. package/dist/client/api/schema/api-error.d.ts.map +1 -0
  29. package/dist/client/api/schema/api-error.js +2 -0
  30. package/dist/client/api/schema/api-error.js.map +1 -0
  31. package/dist/client/api/schema/base-document.d.ts +10 -0
  32. package/dist/client/api/schema/base-document.d.ts.map +1 -0
  33. package/dist/client/api/schema/base-document.js +2 -0
  34. package/dist/client/api/schema/base-document.js.map +1 -0
  35. package/dist/client/api/schema/chunk.d.ts +13 -0
  36. package/dist/client/api/schema/chunk.d.ts.map +1 -0
  37. package/dist/client/api/schema/chunk.js +2 -0
  38. package/dist/client/api/schema/chunk.js.map +1 -0
  39. package/dist/client/api/schema/collection-created-response.d.ts +8 -0
  40. package/dist/client/api/schema/collection-created-response.d.ts.map +1 -0
  41. package/dist/client/api/schema/collection-created-response.js +7 -0
  42. package/dist/client/api/schema/collection-created-response.js.map +1 -0
  43. package/dist/client/api/schema/collection-deleted-response.d.ts +8 -0
  44. package/dist/client/api/schema/collection-deleted-response.d.ts.map +1 -0
  45. package/dist/client/api/schema/collection-deleted-response.js +7 -0
  46. package/dist/client/api/schema/collection-deleted-response.js.map +1 -0
  47. package/dist/client/api/schema/collection-pending-response.d.ts +11 -0
  48. package/dist/client/api/schema/collection-pending-response.d.ts.map +1 -0
  49. package/dist/client/api/schema/collection-pending-response.js +7 -0
  50. package/dist/client/api/schema/collection-pending-response.js.map +1 -0
  51. package/dist/client/api/schema/collection-request.d.ts +15 -0
  52. package/dist/client/api/schema/collection-request.d.ts.map +1 -0
  53. package/dist/client/api/schema/collection-request.js +2 -0
  54. package/dist/client/api/schema/collection-request.js.map +1 -0
  55. package/dist/client/api/schema/collection.d.ts +20 -0
  56. package/dist/client/api/schema/collection.d.ts.map +1 -0
  57. package/dist/client/api/schema/collection.js +2 -0
  58. package/dist/client/api/schema/collection.js.map +1 -0
  59. package/dist/client/api/schema/collections-list-response.d.ts +9 -0
  60. package/dist/client/api/schema/collections-list-response.d.ts.map +1 -0
  61. package/dist/client/api/schema/collections-list-response.js +2 -0
  62. package/dist/client/api/schema/collections-list-response.js.map +1 -0
  63. package/dist/client/api/schema/data-repositories.d.ts +9 -0
  64. package/dist/client/api/schema/data-repositories.d.ts.map +1 -0
  65. package/dist/client/api/schema/data-repositories.js +2 -0
  66. package/dist/client/api/schema/data-repositories.js.map +1 -0
  67. package/dist/client/api/schema/data-repository-type.d.ts +5 -0
  68. package/dist/client/api/schema/data-repository-type.d.ts.map +1 -0
  69. package/dist/client/api/schema/data-repository-type.js +7 -0
  70. package/dist/client/api/schema/data-repository-type.js.map +1 -0
  71. package/dist/client/api/schema/data-repository-with-documents.d.ts +19 -0
  72. package/dist/client/api/schema/data-repository-with-documents.d.ts.map +1 -0
  73. package/dist/client/api/schema/data-repository-with-documents.js +2 -0
  74. package/dist/client/api/schema/data-repository-with-documents.js.map +1 -0
  75. package/dist/client/api/schema/data-repository.d.ts +20 -0
  76. package/dist/client/api/schema/data-repository.d.ts.map +1 -0
  77. package/dist/client/api/schema/data-repository.js +2 -0
  78. package/dist/client/api/schema/data-repository.js.map +1 -0
  79. package/dist/client/api/schema/details-error-response.d.ts +14 -0
  80. package/dist/client/api/schema/details-error-response.d.ts.map +1 -0
  81. package/dist/client/api/schema/details-error-response.js +7 -0
  82. package/dist/client/api/schema/details-error-response.js.map +1 -0
  83. package/dist/client/api/schema/document-create-request.d.ts +8 -0
  84. package/dist/client/api/schema/document-create-request.d.ts.map +1 -0
  85. package/dist/client/api/schema/document-create-request.js +2 -0
  86. package/dist/client/api/schema/document-create-request.js.map +1 -0
  87. package/dist/client/api/schema/document-input.d.ts +15 -0
  88. package/dist/client/api/schema/document-input.d.ts.map +1 -0
  89. package/dist/client/api/schema/document-input.js +2 -0
  90. package/dist/client/api/schema/document-input.js.map +1 -0
  91. package/dist/client/api/schema/document-key-value-list-pair.d.ts +16 -0
  92. package/dist/client/api/schema/document-key-value-list-pair.d.ts.map +1 -0
  93. package/dist/client/api/schema/document-key-value-list-pair.js +7 -0
  94. package/dist/client/api/schema/document-key-value-list-pair.js.map +1 -0
  95. package/dist/client/api/schema/document-output.d.ts +17 -0
  96. package/dist/client/api/schema/document-output.d.ts.map +1 -0
  97. package/dist/client/api/schema/document-output.js +2 -0
  98. package/dist/client/api/schema/document-output.js.map +1 -0
  99. package/dist/client/api/schema/document-response.d.ts +15 -0
  100. package/dist/client/api/schema/document-response.d.ts.map +1 -0
  101. package/dist/client/api/schema/document-response.js +2 -0
  102. package/dist/client/api/schema/document-response.js.map +1 -0
  103. package/dist/client/api/schema/document-update-request.d.ts +8 -0
  104. package/dist/client/api/schema/document-update-request.d.ts.map +1 -0
  105. package/dist/client/api/schema/document-update-request.js +2 -0
  106. package/dist/client/api/schema/document-update-request.js.map +1 -0
  107. package/dist/client/api/schema/document-without-chunks.d.ts +13 -0
  108. package/dist/client/api/schema/document-without-chunks.d.ts.map +1 -0
  109. package/dist/client/api/schema/document-without-chunks.js +2 -0
  110. package/dist/client/api/schema/document-without-chunks.js.map +1 -0
  111. package/dist/client/api/schema/documents-chunk.d.ts +18 -0
  112. package/dist/client/api/schema/documents-chunk.d.ts.map +1 -0
  113. package/dist/client/api/schema/documents-chunk.js +2 -0
  114. package/dist/client/api/schema/documents-chunk.js.map +1 -0
  115. package/dist/client/api/schema/documents-list-response.d.ts +8 -0
  116. package/dist/client/api/schema/documents-list-response.d.ts.map +1 -0
  117. package/dist/client/api/schema/documents-list-response.js +2 -0
  118. package/dist/client/api/schema/documents-list-response.js.map +1 -0
  119. package/dist/client/api/schema/documents.d.ts +9 -0
  120. package/dist/client/api/schema/documents.d.ts.map +1 -0
  121. package/dist/client/api/schema/documents.js +2 -0
  122. package/dist/client/api/schema/documents.js.map +1 -0
  123. package/dist/client/api/schema/embedding-config.d.ts +11 -0
  124. package/dist/client/api/schema/embedding-config.d.ts.map +1 -0
  125. package/dist/client/api/schema/embedding-config.js +7 -0
  126. package/dist/client/api/schema/embedding-config.js.map +1 -0
  127. package/dist/client/api/schema/index.d.ts +47 -0
  128. package/dist/client/api/schema/index.d.ts.map +1 -0
  129. package/dist/client/api/schema/index.js +52 -0
  130. package/dist/client/api/schema/index.js.map +1 -0
  131. package/dist/client/api/schema/key-value-list-pair.d.ts +11 -0
  132. package/dist/client/api/schema/key-value-list-pair.d.ts.map +1 -0
  133. package/dist/client/api/schema/key-value-list-pair.js +7 -0
  134. package/dist/client/api/schema/key-value-list-pair.js.map +1 -0
  135. package/dist/client/api/schema/per-filter-search-result.d.ts +9 -0
  136. package/dist/client/api/schema/per-filter-search-result.d.ts.map +1 -0
  137. package/dist/client/api/schema/per-filter-search-result.js +2 -0
  138. package/dist/client/api/schema/per-filter-search-result.js.map +1 -0
  139. package/dist/client/api/schema/pipeline-id.d.ts +10 -0
  140. package/dist/client/api/schema/pipeline-id.d.ts.map +1 -0
  141. package/dist/client/api/schema/pipeline-id.js +7 -0
  142. package/dist/client/api/schema/pipeline-id.js.map +1 -0
  143. package/dist/client/api/schema/pipeline-post-requst.d.ts +31 -0
  144. package/dist/client/api/schema/pipeline-post-requst.d.ts.map +1 -0
  145. package/dist/client/api/schema/pipeline-post-requst.js +7 -0
  146. package/dist/client/api/schema/pipeline-post-requst.js.map +1 -0
  147. package/dist/client/api/schema/pipeline-status.d.ts +11 -0
  148. package/dist/client/api/schema/pipeline-status.d.ts.map +1 -0
  149. package/dist/client/api/schema/pipeline-status.js +7 -0
  150. package/dist/client/api/schema/pipeline-status.js.map +1 -0
  151. package/dist/client/api/schema/pipeline.d.ts +39 -0
  152. package/dist/client/api/schema/pipeline.d.ts.map +1 -0
  153. package/dist/client/api/schema/pipeline.js +7 -0
  154. package/dist/client/api/schema/pipeline.js.map +1 -0
  155. package/dist/client/api/schema/pipelines.d.ts +9 -0
  156. package/dist/client/api/schema/pipelines.d.ts.map +1 -0
  157. package/dist/client/api/schema/pipelines.js +2 -0
  158. package/dist/client/api/schema/pipelines.js.map +1 -0
  159. package/dist/client/api/schema/retieval-data-repository-search-result.d.ts +8 -0
  160. package/dist/client/api/schema/retieval-data-repository-search-result.d.ts.map +1 -0
  161. package/dist/client/api/schema/retieval-data-repository-search-result.js +2 -0
  162. package/dist/client/api/schema/retieval-data-repository-search-result.js.map +1 -0
  163. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts +7 -0
  164. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.d.ts.map +1 -0
  165. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js +7 -0
  166. package/dist/client/api/schema/retieval-per-filter-search-result-with-error.js.map +1 -0
  167. package/dist/client/api/schema/retieval-per-filter-search-result.d.ts +13 -0
  168. package/dist/client/api/schema/retieval-per-filter-search-result.d.ts.map +1 -0
  169. package/dist/client/api/schema/retieval-per-filter-search-result.js +2 -0
  170. package/dist/client/api/schema/retieval-per-filter-search-result.js.map +1 -0
  171. package/dist/client/api/schema/retieval-search-results.d.ts +12 -0
  172. package/dist/client/api/schema/retieval-search-results.d.ts.map +1 -0
  173. package/dist/client/api/schema/retieval-search-results.js +2 -0
  174. package/dist/client/api/schema/retieval-search-results.js.map +1 -0
  175. package/dist/client/api/schema/retrieval-document.d.ts +14 -0
  176. package/dist/client/api/schema/retrieval-document.d.ts.map +1 -0
  177. package/dist/client/api/schema/retrieval-document.js +2 -0
  178. package/dist/client/api/schema/retrieval-document.js.map +1 -0
  179. package/dist/client/api/schema/retrieval-search-filter.d.ts +38 -0
  180. package/dist/client/api/schema/retrieval-search-filter.d.ts.map +1 -0
  181. package/dist/client/api/schema/retrieval-search-filter.js +2 -0
  182. package/dist/client/api/schema/retrieval-search-filter.js.map +1 -0
  183. package/dist/client/api/schema/retrieval-search-input.d.ts +13 -0
  184. package/dist/client/api/schema/retrieval-search-input.d.ts.map +1 -0
  185. package/dist/client/api/schema/retrieval-search-input.js +2 -0
  186. package/dist/client/api/schema/retrieval-search-input.js.map +1 -0
  187. package/dist/client/api/schema/search-configuration.d.ts +14 -0
  188. package/dist/client/api/schema/search-configuration.d.ts.map +1 -0
  189. package/dist/client/api/schema/search-configuration.js +7 -0
  190. package/dist/client/api/schema/search-configuration.js.map +1 -0
  191. package/dist/client/api/schema/search-document-key-value-list-pair.d.ts +16 -0
  192. package/dist/client/api/schema/search-document-key-value-list-pair.d.ts.map +1 -0
  193. package/dist/client/api/schema/search-document-key-value-list-pair.js +2 -0
  194. package/dist/client/api/schema/search-document-key-value-list-pair.js.map +1 -0
  195. package/dist/client/api/schema/search-filter.d.ts +33 -0
  196. package/dist/client/api/schema/search-filter.d.ts.map +1 -0
  197. package/dist/client/api/schema/search-filter.js +2 -0
  198. package/dist/client/api/schema/search-filter.js.map +1 -0
  199. package/dist/client/api/schema/search-results.d.ts +11 -0
  200. package/dist/client/api/schema/search-results.d.ts.map +1 -0
  201. package/dist/client/api/schema/search-results.js +2 -0
  202. package/dist/client/api/schema/search-results.js.map +1 -0
  203. package/dist/client/api/schema/search-select-option-enum.d.ts +6 -0
  204. package/dist/client/api/schema/search-select-option-enum.d.ts.map +1 -0
  205. package/dist/client/api/schema/search-select-option-enum.js +7 -0
  206. package/dist/client/api/schema/search-select-option-enum.js.map +1 -0
  207. package/dist/client/api/schema/text-only-base-chunk.d.ts +9 -0
  208. package/dist/client/api/schema/text-only-base-chunk.d.ts.map +1 -0
  209. package/dist/client/api/schema/text-only-base-chunk.js +2 -0
  210. package/dist/client/api/schema/text-only-base-chunk.js.map +1 -0
  211. package/dist/client/api/schema/text-search-request.d.ts +14 -0
  212. package/dist/client/api/schema/text-search-request.d.ts.map +1 -0
  213. package/dist/client/api/schema/text-search-request.js +2 -0
  214. package/dist/client/api/schema/text-search-request.js.map +1 -0
  215. package/dist/client/api/search-api.d.ts +18 -0
  216. package/dist/client/api/search-api.d.ts.map +1 -0
  217. package/dist/client/api/search-api.js +23 -0
  218. package/dist/client/api/search-api.js.map +1 -0
  219. package/dist/index.d.ts +2 -0
  220. package/dist/index.d.ts.map +1 -0
  221. package/dist/index.js +2 -0
  222. package/dist/index.js.map +1 -0
  223. package/dist/internal.d.ts +2 -0
  224. package/dist/internal.d.ts.map +1 -0
  225. package/dist/internal.js +2 -0
  226. package/dist/internal.js.map +1 -0
  227. package/internal.d.ts +3 -0
  228. package/internal.js +2 -0
  229. 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,7 @@
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
+ export {};
7
+ //# sourceMappingURL=pipeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../../src/client/api/schema/pipeline.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,9 @@
1
+ import type { Pipeline } from './pipeline.js';
2
+ /**
3
+ * Representation of the 'Pipelines' schema.
4
+ */
5
+ export type Pipelines = {
6
+ resources: Pipeline[];
7
+ count?: number;
8
+ } & Record<string, any>;
9
+ //# sourceMappingURL=pipelines.d.ts.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pipelines.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retieval-data-repository-search-result.js.map
@@ -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,7 @@
1
+ /**
2
+ * Representation of the 'RetievalPerFilterSearchResultWithError' schema.
3
+ */
4
+ export type RetievalPerFilterSearchResultWithError = {
5
+ message: string;
6
+ } & Record<string, any>;
7
+ //# sourceMappingURL=retieval-per-filter-search-result-with-error.d.ts.map
@@ -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,7 @@
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
+ export {};
7
+ //# sourceMappingURL=retieval-per-filter-search-result-with-error.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retieval-per-filter-search-result.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retieval-search-results.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retrieval-document.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retrieval-search-filter.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=retrieval-search-input.js.map
@@ -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,7 @@
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
+ export {};
7
+ //# sourceMappingURL=search-configuration.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=search-document-key-value-list-pair.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=search-filter.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=search-results.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-results.js","sourceRoot":"","sources":["../../../../src/client/api/schema/search-results.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Representation of the 'SearchSelectOptionEnum' schema.
3
+ * Default: "ignoreIfKeyAbsent".
4
+ */
5
+ export type SearchSelectOptionEnum = 'ignoreIfKeyAbsent' | any;
6
+ //# sourceMappingURL=search-select-option-enum.d.ts.map
@@ -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,7 @@
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
+ export {};
7
+ //# sourceMappingURL=search-select-option-enum.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=text-only-base-chunk.js.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=text-search-request.js.map
@@ -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"}
@@ -0,0 +1,2 @@
1
+ export * from './client/api/index.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,2 @@
1
+ export * from './client/api/index.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './client/api/index.js';
2
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './client/api/index.js';
2
+ //# sourceMappingURL=internal.js.map
@@ -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
@@ -0,0 +1,3 @@
1
+ // eslint-disable-next-line import/no-internal-modules
2
+ export * from './dist/internal.js';
3
+ // # sourceMappingURL=internal.d.ts.map
package/internal.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from './dist/internal.js';
2
+ //# sourceMappingURL=internal.js.map