@sap-ai-sdk/orchestration 1.2.1-20241106013104.0 → 1.2.1-20241108013105.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 (55) hide show
  1. package/dist/client/api/schema/azure-content-safety-filter-config.d.ts +1 -1
  2. package/dist/client/api/schema/azure-content-safety.d.ts +3 -3
  3. package/dist/client/api/schema/azure-content-safety.d.ts.map +1 -1
  4. package/dist/client/api/schema/azure-threshold.d.ts +1 -1
  5. package/dist/client/api/schema/chat-message.d.ts +0 -3
  6. package/dist/client/api/schema/chat-message.d.ts.map +1 -1
  7. package/dist/client/api/schema/completion-post-request.d.ts +1 -2
  8. package/dist/client/api/schema/completion-post-request.d.ts.map +1 -1
  9. package/dist/client/api/schema/completion-post-response.d.ts +1 -1
  10. package/dist/client/api/schema/dpi-config.d.ts +2 -2
  11. package/dist/client/api/schema/dpi-entities.d.ts +1 -1
  12. package/dist/client/api/schema/dpi-entity-config.d.ts +1 -1
  13. package/dist/client/api/schema/error-response.d.ts +1 -1
  14. package/dist/client/api/schema/filtering-module-config.d.ts +6 -5
  15. package/dist/client/api/schema/filtering-module-config.d.ts.map +1 -1
  16. package/dist/client/api/schema/generic-module-result.d.ts +3 -3
  17. package/dist/client/api/schema/index.d.ts +2 -3
  18. package/dist/client/api/schema/index.d.ts.map +1 -1
  19. package/dist/client/api/schema/index.js +2 -3
  20. package/dist/client/api/schema/index.js.map +1 -1
  21. package/dist/client/api/schema/{filtering-config.d.ts → input-filtering-config.d.ts} +4 -4
  22. package/dist/client/api/schema/input-filtering-config.d.ts.map +1 -0
  23. package/dist/client/api/schema/input-filtering-config.js +2 -0
  24. package/dist/client/api/schema/input-filtering-config.js.map +1 -0
  25. package/dist/client/api/schema/llm-choice.d.ts +3 -3
  26. package/dist/client/api/schema/llm-module-config.d.ts +2 -2
  27. package/dist/client/api/schema/masking-module-config.d.ts +2 -2
  28. package/dist/client/api/schema/masking-module-config.d.ts.map +1 -1
  29. package/dist/client/api/schema/module-configs.d.ts +0 -2
  30. package/dist/client/api/schema/module-configs.d.ts.map +1 -1
  31. package/dist/client/api/schema/module-results.d.ts +2 -3
  32. package/dist/client/api/schema/module-results.d.ts.map +1 -1
  33. package/dist/client/api/schema/output-filtering-config.d.ts +12 -0
  34. package/dist/client/api/schema/output-filtering-config.d.ts.map +1 -0
  35. package/dist/client/api/schema/output-filtering-config.js +2 -0
  36. package/dist/client/api/schema/output-filtering-config.js.map +1 -0
  37. package/dist/client/api/schema/token-usage.d.ts +4 -4
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js.map +1 -1
  41. package/dist/orchestration-filter-utility.d.ts +2 -2
  42. package/dist/orchestration-filter-utility.d.ts.map +1 -1
  43. package/dist/orchestration-filter-utility.js.map +1 -1
  44. package/package.json +3 -3
  45. package/dist/client/api/schema/filtering-config.d.ts.map +0 -1
  46. package/dist/client/api/schema/filtering-config.js +0 -2
  47. package/dist/client/api/schema/filtering-config.js.map +0 -1
  48. package/dist/client/api/schema/grounding-filter.d.ts +0 -36
  49. package/dist/client/api/schema/grounding-filter.d.ts.map +0 -1
  50. package/dist/client/api/schema/grounding-filter.js +0 -7
  51. package/dist/client/api/schema/grounding-filter.js.map +0 -1
  52. package/dist/client/api/schema/grounding-module-config.d.ts +0 -26
  53. package/dist/client/api/schema/grounding-module-config.d.ts.map +0 -1
  54. package/dist/client/api/schema/grounding-module-config.js +0 -2
  55. package/dist/client/api/schema/grounding-module-config.js.map +0 -1
@@ -4,7 +4,7 @@ import type { AzureContentSafety } from './azure-content-safety.js';
4
4
  */
5
5
  export type AzureContentSafetyFilterConfig = {
6
6
  /**
7
- * String represents name of the filter provider.
7
+ * String represents name of the filter provider
8
8
  * @example "azure_content_safety"
9
9
  */
10
10
  type: 'azure_content_safety';
@@ -1,11 +1,11 @@
1
1
  import type { AzureThreshold } from './azure-threshold.js';
2
2
  /**
3
- * Filter configuration for Azure Content Safety.
3
+ * Filter configuration for Azure Content Safety
4
4
  */
5
- export interface AzureContentSafety {
5
+ export type AzureContentSafety = {
6
6
  Hate?: AzureThreshold;
7
7
  SelfHarm?: AzureThreshold;
8
8
  Sexual?: AzureThreshold;
9
9
  Violence?: AzureThreshold;
10
- }
10
+ };
11
11
  //# sourceMappingURL=azure-content-safety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"azure-content-safety.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/azure-content-safety.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B"}
1
+ {"version":3,"file":"azure-content-safety.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/azure-content-safety.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Representation of the 'AzureThreshold' schema.
2
+ * Threshold for the filter. Setting it to `0` blocks content with low severity, whereas `6` is the most permissive and blocks only the highest severity
3
3
  */
4
4
  export type AzureThreshold = 0 | 2 | 4 | 6;
5
5
  //# sourceMappingURL=azure-threshold.d.ts.map
@@ -6,9 +6,6 @@ export type ChatMessage = {
6
6
  * @example "user"
7
7
  */
8
8
  role: string;
9
- /**
10
- * @example "What is SAP S/4HANA?"
11
- */
12
9
  content: string;
13
10
  } & Record<string, any>;
14
11
  //# sourceMappingURL=chat-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -7,13 +7,12 @@ export type CompletionPostRequest = {
7
7
  orchestration_config: OrchestrationConfig;
8
8
  /**
9
9
  * @example {
10
- * "groundingInput": "What is SAP Joule?",
11
10
  * "inputContext": "optimizing supply chain management"
12
11
  * }
13
12
  */
14
13
  input_params?: Record<string, string>;
15
14
  /**
16
- * History of chat messages. Can be used to provide system and assistant messages to set the context of the conversation. Will be merged with the template message.
15
+ * History of chat messages. Can be used to provide system and assistant messages to set the context of the conversation. Will be merged with the template message
17
16
  */
18
17
  messages_history?: ChatMessages;
19
18
  } & Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"completion-post-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/completion-post-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,mBAAmB,CAAC;IAC1C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;CACjC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"completion-post-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/completion-post-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,mBAAmB,CAAC;IAC1C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;CACjC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -5,7 +5,7 @@ import type { LlmModuleResult } from './llm-module-result.js';
5
5
  */
6
6
  export type CompletionPostResponse = {
7
7
  /**
8
- * ID of the request.
8
+ * ID of the request
9
9
  * @example "d4a67ea1-2bf9-4df7-8105-d48203ccff76"
10
10
  */
11
11
  request_id: string;
@@ -4,11 +4,11 @@ import type { DpiEntityConfig } from './dpi-entity-config.js';
4
4
  */
5
5
  export type DpiConfig = {
6
6
  /**
7
- * Type of masking service provider.
7
+ * Type of masking service provider
8
8
  */
9
9
  type: 'sap_data_privacy_integration';
10
10
  /**
11
- * Type of masking method to be used.
11
+ * Type of masking method to be used
12
12
  */
13
13
  method: 'anonymization' | 'pseudonymization';
14
14
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Default entities supported by data privacy and integration service.
2
+ * Default entities supported by data privacy and integration service
3
3
  */
4
4
  export type DpiEntities = 'profile-person' | 'profile-org' | 'profile-university' | 'profile-location' | 'profile-email' | 'profile-phone' | 'profile-address' | 'profile-sapids-internal' | 'profile-sapids-public' | 'profile-url' | 'profile-username-password' | 'profile-nationalid' | 'profile-iban' | 'profile-ssn' | 'profile-credit-card-number' | 'profile-passport' | 'profile-driverlicense' | 'profile-nationality' | 'profile-religious-group' | 'profile-political-group' | 'profile-pronouns-gender' | 'profile-gender' | 'profile-sexual-orientation' | 'profile-trade-union' | 'profile-sensitive-data';
5
5
  //# sourceMappingURL=dpi-entities.d.ts.map
@@ -4,7 +4,7 @@ import type { DpiEntities } from './dpi-entities.js';
4
4
  */
5
5
  export type DpiEntityConfig = {
6
6
  /**
7
- * Type of entity to be masked.
7
+ * Type of entity to be masked
8
8
  */
9
9
  type: DpiEntities;
10
10
  } & Record<string, any>;
@@ -16,7 +16,7 @@ export type ErrorResponse = {
16
16
  */
17
17
  message: string;
18
18
  /**
19
- * Where the error occurred.
19
+ * Where the error occurred
20
20
  * @example "LLM Module"
21
21
  */
22
22
  location: string;
@@ -1,15 +1,16 @@
1
- import type { FilteringConfig } from './filtering-config.js';
1
+ import { InputFilteringConfig } from './input-filtering-config.js';
2
+ import { OutputFilteringConfig } from './output-filtering-config.js';
2
3
  /**
3
4
  * Representation of the 'FilteringModuleConfig' schema.
4
5
  */
5
- export interface FilteringModuleConfig {
6
+ export type FilteringModuleConfig = {
6
7
  /**
7
8
  * List of provider type and filters.
8
9
  */
9
- input?: FilteringConfig;
10
+ input?: InputFilteringConfig;
10
11
  /**
11
12
  * List of provider type and filters.
12
13
  */
13
- output?: FilteringConfig;
14
- }
14
+ output?: OutputFilteringConfig;
15
+ };
15
16
  //# sourceMappingURL=filtering-module-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filtering-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/filtering-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B"}
1
+ {"version":3,"file":"filtering-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/filtering-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC,CAAC"}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * Generic module result.
2
+ * Generic module result
3
3
  */
4
4
  export type GenericModuleResult = {
5
5
  /**
6
- * Some message created from the module.
6
+ * Some message created from the module
7
7
  * @example "Input to LLM is masked successfully."
8
8
  */
9
9
  message: string;
10
10
  /**
11
- * Additional data object from the module.
11
+ * Additional data object from the module
12
12
  */
13
13
  data?: Record<string, any>;
14
14
  } & Record<string, any>;
@@ -12,7 +12,8 @@ export * from './llm-choice.js';
12
12
  export * from './token-usage.js';
13
13
  export * from './templating-module-config.js';
14
14
  export * from './filtering-module-config.js';
15
- export * from './filtering-config.js';
15
+ export * from './input-filtering-config.js';
16
+ export * from './output-filtering-config.js';
16
17
  export * from './filter-config.js';
17
18
  export * from './azure-content-safety-filter-config.js';
18
19
  export * from './azure-content-safety.js';
@@ -22,7 +23,5 @@ export * from './masking-provider-config.js';
22
23
  export * from './dpi-config.js';
23
24
  export * from './dpi-entity-config.js';
24
25
  export * from './dpi-entities.js';
25
- export * from './grounding-module-config.js';
26
- export * from './grounding-filter.js';
27
26
  export * from './error-response.js';
28
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAKA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -17,7 +17,8 @@ export * from './llm-choice.js';
17
17
  export * from './token-usage.js';
18
18
  export * from './templating-module-config.js';
19
19
  export * from './filtering-module-config.js';
20
- export * from './filtering-config.js';
20
+ export * from './input-filtering-config.js';
21
+ export * from './output-filtering-config.js';
21
22
  export * from './filter-config.js';
22
23
  export * from './azure-content-safety-filter-config.js';
23
24
  export * from './azure-content-safety.js';
@@ -27,7 +28,5 @@ export * from './masking-provider-config.js';
27
28
  export * from './dpi-config.js';
28
29
  export * from './dpi-entity-config.js';
29
30
  export * from './dpi-entities.js';
30
- export * from './grounding-module-config.js';
31
- export * from './grounding-filter.js';
32
31
  export * from './error-response.js';
33
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/api/schema/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import type { FilterConfig } from './filter-config.js';
2
2
  /**
3
- * Representation of the 'FilteringConfig' schema.
3
+ * Representation of the 'InputFilteringConfig' schema.
4
4
  */
5
- export type FilteringConfig = {
5
+ export type InputFilteringConfig = {
6
6
  /**
7
7
  * Configuration for content filtering services that should be used for the given filtering step (input filtering or output filtering).
8
8
  * Min Items: 1.
9
9
  */
10
10
  filters: FilterConfig[];
11
- } & Record<string, any>;
12
- //# sourceMappingURL=filtering-config.d.ts.map
11
+ };
12
+ //# sourceMappingURL=input-filtering-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-filtering-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filtering-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=input-filtering-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-filtering-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filtering-config.ts"],"names":[],"mappings":""}
@@ -4,16 +4,16 @@ import type { ChatMessage } from './chat-message.js';
4
4
  */
5
5
  export type LlmChoice = {
6
6
  /**
7
- * Index of the choice.
7
+ * Index of the choice
8
8
  */
9
9
  index: number;
10
10
  message: ChatMessage;
11
11
  /**
12
- * Log probabilities.
12
+ * Log probabilities
13
13
  */
14
14
  logprobs?: Record<string, number[]>;
15
15
  /**
16
- * Reason the model stopped generating tokens. 'stop' if the model hit a natural stop point or a provided stop sequence, 'length' if the maximum token number was reached, 'content_filter' if content was omitted due to a filter enforced by the LLM model provider or the content filtering module.
16
+ * Reason the model stopped generating tokens. 'stop' if the model hit a natural stop point or a provided stop sequence, 'length' if the maximum token number was reached, 'content_filter' if content was omitted due to a filter enforced by the LLM model provider or the content filtering module
17
17
  * @example "stop"
18
18
  */
19
19
  finish_reason: string;
@@ -3,12 +3,12 @@
3
3
  */
4
4
  export type LlmModuleConfig = {
5
5
  /**
6
- * Model name as in LLM Access configuration.
6
+ * Model name as in LLM Access configuration
7
7
  * @example "gpt-4"
8
8
  */
9
9
  model_name: string;
10
10
  /**
11
- * Model parameters.
11
+ * Model parameters
12
12
  * @example {
13
13
  * "max_tokens": 300,
14
14
  * "temperature": 0.1,
@@ -2,11 +2,11 @@ import type { MaskingProviderConfig } from './masking-provider-config.js';
2
2
  /**
3
3
  * Representation of the 'MaskingModuleConfig' schema.
4
4
  */
5
- export interface MaskingModuleConfig {
5
+ export type MaskingModuleConfig = {
6
6
  /**
7
7
  * List of masking service providers
8
8
  * Min Items: 1.
9
9
  */
10
10
  masking_providers: MaskingProviderConfig[];
11
- }
11
+ };
12
12
  //# sourceMappingURL=masking-module-config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"masking-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/masking-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;CAC5C"}
1
+ {"version":3,"file":"masking-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/masking-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;CAC5C,CAAC"}
@@ -2,7 +2,6 @@ import type { LlmModuleConfig } from './llm-module-config.js';
2
2
  import type { TemplatingModuleConfig } from './templating-module-config.js';
3
3
  import type { FilteringModuleConfig } from './filtering-module-config.js';
4
4
  import type { MaskingModuleConfig } from './masking-module-config.js';
5
- import type { GroundingModuleConfig } from './grounding-module-config.js';
6
5
  /**
7
6
  * Representation of the 'ModuleConfigs' schema.
8
7
  */
@@ -11,6 +10,5 @@ export type ModuleConfigs = {
11
10
  templating_module_config: TemplatingModuleConfig;
12
11
  filtering_module_config?: FilteringModuleConfig;
13
12
  masking_module_config?: MaskingModuleConfig;
14
- grounding_module_config?: GroundingModuleConfig;
15
13
  } & Record<string, any>;
16
14
  //# sourceMappingURL=module-configs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-configs.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-configs.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,iBAAiB,EAAE,eAAe,CAAC;IACnC,wBAAwB,EAAE,sBAAsB,CAAC;IACjD,uBAAuB,CAAC,EAAE,qBAAqB,CAAC;IAChD,qBAAqB,CAAC,EAAE,mBAAmB,CAAC;IAC5C,uBAAuB,CAAC,EAAE,qBAAqB,CAAC;CACjD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"module-configs.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-configs.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,iBAAiB,EAAE,eAAe,CAAC;IACnC,wBAAwB,EAAE,sBAAsB,CAAC;IACjD,uBAAuB,CAAC,EAAE,qBAAqB,CAAC;IAChD,qBAAqB,CAAC,EAAE,mBAAmB,CAAC;CAC7C,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -5,13 +5,12 @@ import type { LlmChoice } from './llm-choice.js';
5
5
  /**
6
6
  * Results of each module.
7
7
  */
8
- export interface ModuleResults {
9
- grounding?: GenericModuleResult;
8
+ export type ModuleResults = {
10
9
  templating?: ChatMessages;
11
10
  input_masking?: GenericModuleResult;
12
11
  input_filtering?: GenericModuleResult;
13
12
  llm?: LlmModuleResult;
14
13
  output_filtering?: GenericModuleResult;
15
14
  output_unmasking?: LlmChoice[];
16
- }
15
+ };
17
16
  //# sourceMappingURL=module-results.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC"}
1
+ {"version":3,"file":"module-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FilterConfig } from './filter-config.js';
2
+ /**
3
+ * Representation of the 'OutputFilteringConfig' schema.
4
+ */
5
+ export type OutputFilteringConfig = {
6
+ /**
7
+ * Configuration for content filtering services that should be used for the given filtering step (input filtering or output filtering).
8
+ * Min Items: 1.
9
+ */
10
+ filters: FilterConfig[];
11
+ };
12
+ //# sourceMappingURL=output-filtering-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-filtering-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filtering-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=output-filtering-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-filtering-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filtering-config.ts"],"names":[],"mappings":""}
@@ -1,19 +1,19 @@
1
1
  /**
2
- * Usage of tokens in the response.
2
+ * Usage of tokens in the response
3
3
  */
4
4
  export type TokenUsage = {
5
5
  /**
6
- * Number of tokens used in the input.
6
+ * Number of tokens used in the input
7
7
  * @example 20
8
8
  */
9
9
  completion_tokens: number;
10
10
  /**
11
- * Number of tokens used in the output.
11
+ * Number of tokens used in the output
12
12
  * @example 30
13
13
  */
14
14
  prompt_tokens: number;
15
15
  /**
16
- * Total number of tokens used.
16
+ * Total number of tokens used
17
17
  * @example 50
18
18
  */
19
19
  total_tokens: number;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type { CompletionPostResponse, ChatMessages, TokenUsage, TemplatingModuleConfig, OrchestrationConfig, ModuleResults, ModuleConfigs, MaskingModuleConfig, MaskingProviderConfig, LlmModuleResult, LlmChoice, GenericModuleResult, FilteringModuleConfig, FilteringConfig, FilterConfig, ErrorResponse, DpiEntities, DpiEntityConfig, DpiConfig, CompletionPostRequest, ChatMessage, AzureThreshold, AzureContentSafety, AzureContentSafetyFilterConfig } from './client/api/schema/index.js';
1
+ export type { CompletionPostResponse, ChatMessages, TokenUsage, TemplatingModuleConfig, OrchestrationConfig, ModuleResults, ModuleConfigs, MaskingModuleConfig, MaskingProviderConfig, LlmModuleResult, LlmChoice, GenericModuleResult, FilteringModuleConfig, InputFilteringConfig, OutputFilteringConfig, FilterConfig, ErrorResponse, DpiEntities, DpiEntityConfig, DpiConfig, CompletionPostRequest, ChatMessage, AzureThreshold, AzureContentSafety, AzureContentSafetyFilterConfig } from './client/api/schema/index.js';
2
2
  export type { OrchestrationModuleConfig, LlmModuleConfig, Prompt } from './orchestration-types.js';
3
3
  export { OrchestrationClient } from './orchestration-client.js';
4
4
  export { buildAzureContentFilter } from './orchestration-filter-utility.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,sBAAsB,EACtB,YAAY,EACZ,UAAU,EACV,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,WAAW,EACX,eAAe,EACf,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,MAAM,EACP,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,sBAAsB,EACtB,YAAY,EACZ,UAAU,EACV,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,WAAW,EACX,eAAe,EACf,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,MAAM,EACP,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkCA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { AzureContentSafety, FilteringConfig } from './client/api/schema/index.js';
1
+ import type { AzureContentSafety, InputFilteringConfig, OutputFilteringConfig } from './client/api/schema/index.js';
2
2
  /**
3
3
  * Convenience function to create Azure content filters.
4
4
  * @param filter - Filtering configuration for Azure filter. If skipped, the default Azure content filter configuration is used.
5
5
  * @returns An object with the Azure filtering configuration.
6
6
  */
7
- export declare function buildAzureContentFilter(filter?: AzureContentSafety): FilteringConfig;
7
+ export declare function buildAzureContentFilter(filter?: AzureContentSafety): InputFilteringConfig | OutputFilteringConfig;
8
8
  //# sourceMappingURL=orchestration-filter-utility.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"orchestration-filter-utility.d.ts","sourceRoot":"","sources":["../src/orchestration-filter-utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EAChB,MAAM,8BAA8B,CAAC;AAEtC;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,CAAC,EAAE,kBAAkB,GAC1B,eAAe,CAYjB"}
1
+ {"version":3,"file":"orchestration-filter-utility.d.ts","sourceRoot":"","sources":["../src/orchestration-filter-utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AAEtC;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,CAAC,EAAE,kBAAkB,GAC1B,oBAAoB,GAAG,qBAAqB,CAY9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"orchestration-filter-utility.js","sourceRoot":"","sources":["../src/orchestration-filter-utility.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CACrC,MAA2B;IAE3B,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,sBAAsB;gBAC5B,GAAG,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;aAClC;SACF;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"orchestration-filter-utility.js","sourceRoot":"","sources":["../src/orchestration-filter-utility.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CACrC,MAA2B;IAE3B,IAAI,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO;QACL,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,sBAAsB;gBAC5B,GAAG,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;aAClC;SACF;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/orchestration",
3
- "version": "1.2.1-20241106013104.0",
3
+ "version": "1.2.1-20241108013105.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@sap-cloud-sdk/http-client": "^3.22.2",
24
24
  "@sap-cloud-sdk/util": "^3.22.2",
25
- "@sap-ai-sdk/core": "^1.2.1-20241106013104.0",
26
- "@sap-ai-sdk/ai-api": "^1.2.1-20241106013104.0"
25
+ "@sap-ai-sdk/core": "^1.2.1-20241108013105.0",
26
+ "@sap-ai-sdk/ai-api": "^1.2.1-20241108013105.0"
27
27
  },
28
28
  "scripts": {
29
29
  "compile": "tsc",
@@ -1 +0,0 @@
1
- {"version":3,"file":"filtering-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/filtering-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=filtering-config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filtering-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/filtering-config.ts"],"names":[],"mappings":""}
@@ -1,36 +0,0 @@
1
- /**
2
- * Representation of the 'GroundingFilter' schema.
3
- */
4
- export type GroundingFilter = {
5
- /**
6
- * @example "string"
7
- */
8
- id?: string;
9
- /**
10
- * @example {}
11
- */
12
- search_configuration?: Record<string, any>;
13
- /**
14
- * @example [
15
- * "*"
16
- * ]
17
- */
18
- data_repositories?: string[];
19
- /**
20
- * @example "help.sap.com"
21
- */
22
- data_repository_type?: 'vector' | 'help.sap.com';
23
- /**
24
- * @example []
25
- */
26
- data_repository_metadata?: Record<string, any>[];
27
- /**
28
- * @example []
29
- */
30
- document_metadata?: Record<string, any>[];
31
- /**
32
- * @example []
33
- */
34
- chunk_metadata?: Record<string, any>[];
35
- } & Record<string, any>;
36
- //# sourceMappingURL=grounding-filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grounding-filter.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-filter.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;OAEG;IACH,oBAAoB,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;IACjD;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IACjD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC1C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CACxC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,7 +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
- export {};
7
- //# sourceMappingURL=grounding-filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grounding-filter.js","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-filter.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,26 +0,0 @@
1
- import type { GroundingFilter } from './grounding-filter.js';
2
- /**
3
- * Representation of the 'GroundingModuleConfig' schema.
4
- */
5
- export type GroundingModuleConfig = {
6
- /**
7
- * @example "document_grounding_service"
8
- */
9
- grounding_service: 'document_grounding_service';
10
- grounding_service_configuration?: {
11
- /**
12
- * Document grounding service filters to be used.
13
- */
14
- filters?: GroundingFilter[];
15
- /**
16
- * Contains the input parameters used for grounding input questions.
17
- */
18
- grounding_input_parameters: string[];
19
- /**
20
- * Parameter name used for grounding output.
21
- * @example "groundingOutput"
22
- */
23
- grounding_output_parameter: string;
24
- } & Record<string, any>;
25
- } & Record<string, any>;
26
- //# sourceMappingURL=grounding-module-config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grounding-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,iBAAiB,EAAE,4BAA4B,CAAC;IAChD,+BAA+B,CAAC,EAAE;QAChC;;WAEG;QACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;QAC5B;;WAEG;QACH,0BAA0B,EAAE,MAAM,EAAE,CAAC;QACrC;;;WAGG;QACH,0BAA0B,EAAE,MAAM,CAAC;KACpC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=grounding-module-config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grounding-module-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/grounding-module-config.ts"],"names":[],"mappings":""}