@sap-ai-sdk/orchestration 1.15.1-20250630013254.0 → 1.15.1-20250701013320.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 (165) hide show
  1. package/dist/client/api/schema/azure-content-safety-input-filter-config.d.ts +13 -0
  2. package/dist/client/api/schema/azure-content-safety-input-filter-config.d.ts.map +1 -0
  3. package/dist/client/api/schema/azure-content-safety-input-filter-config.js +2 -0
  4. package/dist/client/api/schema/azure-content-safety-input-filter-config.js.map +1 -0
  5. package/dist/client/api/schema/azure-content-safety-input.d.ts +15 -0
  6. package/dist/client/api/schema/azure-content-safety-input.d.ts.map +1 -0
  7. package/dist/client/api/schema/azure-content-safety-input.js +2 -0
  8. package/dist/client/api/schema/azure-content-safety-input.js.map +1 -0
  9. package/dist/client/api/schema/azure-content-safety-output-filter-config.d.ts +13 -0
  10. package/dist/client/api/schema/azure-content-safety-output-filter-config.d.ts.map +1 -0
  11. package/dist/client/api/schema/azure-content-safety-output-filter-config.js +2 -0
  12. package/dist/client/api/schema/azure-content-safety-output-filter-config.js.map +1 -0
  13. package/dist/client/api/schema/{azure-content-safety.d.ts → azure-content-safety-output.d.ts} +2 -2
  14. package/dist/client/api/schema/azure-content-safety-output.d.ts.map +1 -0
  15. package/dist/client/api/schema/azure-content-safety-output.js +2 -0
  16. package/dist/client/api/schema/azure-content-safety-output.js.map +1 -0
  17. package/dist/client/api/schema/chat-completion-token-logprob.d.ts +37 -0
  18. package/dist/client/api/schema/chat-completion-token-logprob.d.ts.map +1 -0
  19. package/dist/client/api/schema/chat-completion-token-logprob.js +7 -0
  20. package/dist/client/api/schema/chat-completion-token-logprob.js.map +1 -0
  21. package/dist/client/api/schema/choice-logprobs.d.ts +15 -0
  22. package/dist/client/api/schema/choice-logprobs.d.ts.map +1 -0
  23. package/dist/client/api/schema/choice-logprobs.js +2 -0
  24. package/dist/client/api/schema/choice-logprobs.js.map +1 -0
  25. package/dist/client/api/schema/completion-post-response-streaming.d.ts +2 -2
  26. package/dist/client/api/schema/completion-post-response-streaming.d.ts.map +1 -1
  27. package/dist/client/api/schema/dpi-custom-entity.d.ts +15 -0
  28. package/dist/client/api/schema/dpi-custom-entity.d.ts.map +1 -0
  29. package/dist/client/api/schema/dpi-custom-entity.js +2 -0
  30. package/dist/client/api/schema/dpi-custom-entity.js.map +1 -0
  31. package/dist/client/api/schema/dpi-entities.d.ts +1 -1
  32. package/dist/client/api/schema/dpi-entities.d.ts.map +1 -1
  33. package/dist/client/api/schema/dpi-entity-config.d.ts +3 -7
  34. package/dist/client/api/schema/dpi-entity-config.d.ts.map +1 -1
  35. package/dist/client/api/schema/dpi-method-constant.d.ts +12 -0
  36. package/dist/client/api/schema/dpi-method-constant.d.ts.map +1 -0
  37. package/dist/client/api/schema/dpi-method-constant.js +7 -0
  38. package/dist/client/api/schema/dpi-method-constant.js.map +1 -0
  39. package/dist/client/api/schema/dpi-method-fabricated-data.d.ts +7 -0
  40. package/dist/client/api/schema/dpi-method-fabricated-data.d.ts.map +1 -0
  41. package/dist/client/api/schema/dpi-method-fabricated-data.js +7 -0
  42. package/dist/client/api/schema/dpi-method-fabricated-data.js.map +1 -0
  43. package/dist/client/api/schema/dpi-standard-entity.d.ts +14 -0
  44. package/dist/client/api/schema/dpi-standard-entity.d.ts.map +1 -0
  45. package/dist/client/api/schema/dpi-standard-entity.js +2 -0
  46. package/dist/client/api/schema/dpi-standard-entity.js.map +1 -0
  47. package/dist/client/api/schema/embedding-result.d.ts +17 -0
  48. package/dist/client/api/schema/embedding-result.d.ts.map +1 -0
  49. package/dist/client/api/schema/embedding-result.js +2 -0
  50. package/dist/client/api/schema/embedding-result.js.map +1 -0
  51. package/dist/client/api/schema/embedding.d.ts +5 -0
  52. package/dist/client/api/schema/embedding.d.ts.map +1 -0
  53. package/dist/client/api/schema/embedding.js +7 -0
  54. package/dist/client/api/schema/embedding.js.map +1 -0
  55. package/dist/client/api/schema/embeddings-input-text.d.ts +9 -0
  56. package/dist/client/api/schema/embeddings-input-text.d.ts.map +1 -0
  57. package/dist/client/api/schema/embeddings-input-text.js +7 -0
  58. package/dist/client/api/schema/embeddings-input-text.js.map +1 -0
  59. package/dist/client/api/schema/embeddings-input.d.ts +9 -0
  60. package/dist/client/api/schema/embeddings-input.d.ts.map +1 -0
  61. package/dist/client/api/schema/embeddings-input.js +2 -0
  62. package/dist/client/api/schema/embeddings-input.js.map +1 -0
  63. package/dist/client/api/schema/embeddings-model-config.d.ts +8 -0
  64. package/dist/client/api/schema/embeddings-model-config.d.ts.map +1 -0
  65. package/dist/client/api/schema/embeddings-model-config.js +2 -0
  66. package/dist/client/api/schema/embeddings-model-config.js.map +1 -0
  67. package/dist/client/api/schema/embeddings-model-details.d.ts +13 -0
  68. package/dist/client/api/schema/embeddings-model-details.d.ts.map +1 -0
  69. package/dist/client/api/schema/embeddings-model-details.js +2 -0
  70. package/dist/client/api/schema/embeddings-model-details.js.map +1 -0
  71. package/dist/client/api/schema/embeddings-model-params.d.ts +17 -0
  72. package/dist/client/api/schema/embeddings-model-params.d.ts.map +1 -0
  73. package/dist/client/api/schema/embeddings-model-params.js +7 -0
  74. package/dist/client/api/schema/embeddings-model-params.js.map +1 -0
  75. package/dist/client/api/schema/embeddings-module-configs.d.ts +10 -0
  76. package/dist/client/api/schema/embeddings-module-configs.d.ts.map +1 -0
  77. package/dist/client/api/schema/embeddings-module-configs.js +2 -0
  78. package/dist/client/api/schema/embeddings-module-configs.js.map +1 -0
  79. package/dist/client/api/schema/embeddings-orchestration-config.d.ts +8 -0
  80. package/dist/client/api/schema/embeddings-orchestration-config.d.ts.map +1 -0
  81. package/dist/client/api/schema/embeddings-orchestration-config.js +2 -0
  82. package/dist/client/api/schema/embeddings-orchestration-config.js.map +1 -0
  83. package/dist/client/api/schema/embeddings-post-request.d.ts +10 -0
  84. package/dist/client/api/schema/embeddings-post-request.d.ts.map +1 -0
  85. package/dist/client/api/schema/embeddings-post-request.js +2 -0
  86. package/dist/client/api/schema/embeddings-post-request.js.map +1 -0
  87. package/dist/client/api/schema/embeddings-post-response.d.ts +11 -0
  88. package/dist/client/api/schema/embeddings-post-response.d.ts.map +1 -0
  89. package/dist/client/api/schema/embeddings-post-response.js +2 -0
  90. package/dist/client/api/schema/embeddings-post-response.js.map +1 -0
  91. package/dist/client/api/schema/embeddings-response.d.ts +21 -0
  92. package/dist/client/api/schema/embeddings-response.d.ts.map +1 -0
  93. package/dist/client/api/schema/embeddings-response.js +2 -0
  94. package/dist/client/api/schema/embeddings-response.js.map +1 -0
  95. package/dist/client/api/schema/embeddings-usage.d.ts +14 -0
  96. package/dist/client/api/schema/embeddings-usage.d.ts.map +1 -0
  97. package/dist/client/api/schema/embeddings-usage.js +7 -0
  98. package/dist/client/api/schema/embeddings-usage.js.map +1 -0
  99. package/dist/client/api/schema/error-response-streaming.d.ts +25 -0
  100. package/dist/client/api/schema/error-response-streaming.d.ts.map +1 -0
  101. package/dist/client/api/schema/error-response-streaming.js +2 -0
  102. package/dist/client/api/schema/error-response-streaming.js.map +1 -0
  103. package/dist/client/api/schema/error-response.d.ts +1 -1
  104. package/dist/client/api/schema/index.d.ts +28 -4
  105. package/dist/client/api/schema/index.d.ts.map +1 -1
  106. package/dist/client/api/schema/index.js +28 -4
  107. package/dist/client/api/schema/index.js.map +1 -1
  108. package/dist/client/api/schema/input-filter-config.d.ts +7 -0
  109. package/dist/client/api/schema/input-filter-config.d.ts.map +1 -0
  110. package/dist/client/api/schema/input-filter-config.js +2 -0
  111. package/dist/client/api/schema/input-filter-config.js.map +1 -0
  112. package/dist/client/api/schema/input-filtering-config.d.ts +3 -3
  113. package/dist/client/api/schema/input-filtering-config.d.ts.map +1 -1
  114. package/dist/client/api/schema/llm-choice-streaming.d.ts +2 -4
  115. package/dist/client/api/schema/llm-choice-streaming.d.ts.map +1 -1
  116. package/dist/client/api/schema/llm-choice.d.ts +2 -4
  117. package/dist/client/api/schema/llm-choice.d.ts.map +1 -1
  118. package/dist/client/api/schema/llm-module-config.d.ts +2 -1
  119. package/dist/client/api/schema/llm-module-config.d.ts.map +1 -1
  120. package/dist/client/api/schema/llm-module-result.d.ts +34 -3
  121. package/dist/client/api/schema/llm-module-result.d.ts.map +1 -1
  122. package/dist/client/api/schema/module-results-base.d.ts +15 -0
  123. package/dist/client/api/schema/module-results-base.d.ts.map +1 -0
  124. package/dist/client/api/schema/module-results-base.js +2 -0
  125. package/dist/client/api/schema/module-results-base.js.map +1 -0
  126. package/dist/client/api/schema/module-results-streaming.d.ts +11 -0
  127. package/dist/client/api/schema/module-results-streaming.d.ts.map +1 -0
  128. package/dist/client/api/schema/module-results-streaming.js +2 -0
  129. package/dist/client/api/schema/module-results-streaming.js.map +1 -0
  130. package/dist/client/api/schema/module-results.d.ts +5 -14
  131. package/dist/client/api/schema/module-results.d.ts.map +1 -1
  132. package/dist/client/api/schema/output-filter-config.d.ts +7 -0
  133. package/dist/client/api/schema/output-filter-config.d.ts.map +1 -0
  134. package/dist/client/api/schema/output-filter-config.js +2 -0
  135. package/dist/client/api/schema/output-filter-config.js.map +1 -0
  136. package/dist/client/api/schema/output-filtering-config.d.ts +3 -3
  137. package/dist/client/api/schema/output-filtering-config.d.ts.map +1 -1
  138. package/dist/client/api/schema/response-chat-message.d.ts +1 -1
  139. package/dist/client/api/schema/response-chat-message.d.ts.map +1 -1
  140. package/dist/client/api/schema/template.d.ts +0 -1
  141. package/dist/client/api/schema/template.d.ts.map +1 -1
  142. package/dist/index.d.ts +1 -1
  143. package/dist/index.d.ts.map +1 -1
  144. package/dist/index.js.map +1 -1
  145. package/dist/orchestration-types.d.ts +9 -1
  146. package/dist/orchestration-types.d.ts.map +1 -1
  147. package/dist/orchestration-types.js.map +1 -1
  148. package/dist/util/filtering.d.ts +2 -2
  149. package/dist/util/filtering.d.ts.map +1 -1
  150. package/package.json +4 -4
  151. package/dist/client/api/schema/azure-content-safety-filter-config.d.ts +0 -13
  152. package/dist/client/api/schema/azure-content-safety-filter-config.d.ts.map +0 -1
  153. package/dist/client/api/schema/azure-content-safety-filter-config.js +0 -2
  154. package/dist/client/api/schema/azure-content-safety-filter-config.js.map +0 -1
  155. package/dist/client/api/schema/azure-content-safety.d.ts.map +0 -1
  156. package/dist/client/api/schema/azure-content-safety.js +0 -2
  157. package/dist/client/api/schema/azure-content-safety.js.map +0 -1
  158. package/dist/client/api/schema/filter-config.d.ts +0 -7
  159. package/dist/client/api/schema/filter-config.d.ts.map +0 -1
  160. package/dist/client/api/schema/filter-config.js +0 -2
  161. package/dist/client/api/schema/filter-config.js.map +0 -1
  162. package/dist/client/api/schema/llm-module-result-synchronous.d.ts +0 -38
  163. package/dist/client/api/schema/llm-module-result-synchronous.d.ts.map +0 -1
  164. package/dist/client/api/schema/llm-module-result-synchronous.js +0 -2
  165. package/dist/client/api/schema/llm-module-result-synchronous.js.map +0 -1
@@ -0,0 +1,10 @@
1
+ import type { EmbeddingsOrchestrationConfig } from './embeddings-orchestration-config.js';
2
+ import type { EmbeddingsInput } from './embeddings-input.js';
3
+ /**
4
+ * Representation of the 'EmbeddingsPostRequest' schema.
5
+ */
6
+ export type EmbeddingsPostRequest = {
7
+ config: EmbeddingsOrchestrationConfig;
8
+ input: EmbeddingsInput;
9
+ };
10
+ //# sourceMappingURL=embeddings-post-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-post-request.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,6BAA6B,CAAC;IACtC,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=embeddings-post-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-post-request.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { ModuleResultsBase } from './module-results-base.js';
2
+ import type { EmbeddingsResponse } from './embeddings-response.js';
3
+ /**
4
+ * Representation of the 'EmbeddingsPostResponse' schema.
5
+ */
6
+ export type EmbeddingsPostResponse = {
7
+ request_id: string;
8
+ intermediate_results?: ModuleResultsBase;
9
+ final_result?: EmbeddingsResponse;
10
+ };
11
+ //# sourceMappingURL=embeddings-post-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-post-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,iBAAiB,CAAC;IACzC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=embeddings-post-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-post-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-post-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import type { EmbeddingResult } from './embedding-result.js';
2
+ import type { EmbeddingsUsage } from './embeddings-usage.js';
3
+ /**
4
+ * The response from request to embedding model following OpenAI specification.
5
+ */
6
+ export type EmbeddingsResponse = {
7
+ /**
8
+ * The object type, which is always "list".
9
+ */
10
+ object: 'list';
11
+ /**
12
+ * The list of embeddings generated by the model.
13
+ */
14
+ data: EmbeddingResult[];
15
+ /**
16
+ * The name of the model used to generate the embedding.
17
+ */
18
+ model: string;
19
+ usage: EmbeddingsUsage;
20
+ };
21
+ //# sourceMappingURL=embeddings-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-response.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=embeddings-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-response.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The usage information for the request.
3
+ */
4
+ export type EmbeddingsUsage = {
5
+ /**
6
+ * The number of tokens used by the prompt.
7
+ */
8
+ prompt_tokens: number;
9
+ /**
10
+ * The total number of tokens used by the request.
11
+ */
12
+ total_tokens: number;
13
+ };
14
+ //# sourceMappingURL=embeddings-usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-usage.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-usage.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,7 @@
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
+ export {};
7
+ //# sourceMappingURL=embeddings-usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embeddings-usage.js","sourceRoot":"","sources":["../../../../src/client/api/schema/embeddings-usage.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,25 @@
1
+ import type { ModuleResultsStreaming } from './module-results-streaming.js';
2
+ /**
3
+ * Representation of the 'ErrorResponseStreaming' schema.
4
+ */
5
+ export type ErrorResponseStreaming = {
6
+ /**
7
+ * @example "d4a67ea1-2bf9-4df7-8105-d48203ccff76"
8
+ */
9
+ request_id: string;
10
+ /**
11
+ * @example 500
12
+ */
13
+ code: number;
14
+ /**
15
+ * @example "Model name must be one of ['gpt-4o-mini', ...]"
16
+ */
17
+ message: string;
18
+ /**
19
+ * Where the error occurred
20
+ * @example "LLM Module"
21
+ */
22
+ location: string;
23
+ module_results?: ModuleResultsStreaming;
24
+ } & Record<string, any>;
25
+ //# sourceMappingURL=error-response-streaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-response-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/error-response-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=error-response-streaming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-response-streaming.js","sourceRoot":"","sources":["../../../../src/client/api/schema/error-response-streaming.ts"],"names":[],"mappings":""}
@@ -12,7 +12,7 @@ export type ErrorResponse = {
12
12
  */
13
13
  code: number;
14
14
  /**
15
- * @example "Model name must be one of ['gpt-4', ...]"
15
+ * @example "Model name must be one of ['gpt-4o-mini', ...]"
16
16
  */
17
17
  message: string;
18
18
  /**
@@ -1,4 +1,17 @@
1
1
  export * from './completion-post-request.js';
2
+ export * from './embeddings-post-request.js';
3
+ export * from './embeddings-orchestration-config.js';
4
+ export * from './embeddings-input.js';
5
+ export * from './embeddings-input-text.js';
6
+ export * from './embeddings-module-configs.js';
7
+ export * from './embeddings-model-config.js';
8
+ export * from './embeddings-model-details.js';
9
+ export * from './embeddings-model-params.js';
10
+ export * from './embeddings-post-response.js';
11
+ export * from './embeddings-response.js';
12
+ export * from './embeddings-usage.js';
13
+ export * from './embedding-result.js';
14
+ export * from './embedding.js';
2
15
  export * from './chat-messages.js';
3
16
  export * from './templating-chat-message.js';
4
17
  export * from './chat-message.js';
@@ -21,12 +34,13 @@ export * from './completion-post-response.js';
21
34
  export * from './completion-post-response-streaming.js';
22
35
  export * from './orchestration-config.js';
23
36
  export * from './module-configs.js';
37
+ export * from './module-results-base.js';
24
38
  export * from './module-results.js';
39
+ export * from './module-results-streaming.js';
25
40
  export * from './global-stream-options.js';
26
41
  export * from './llm-module-config.js';
27
42
  export * from './generic-module-result.js';
28
43
  export * from './llm-module-result.js';
29
- export * from './llm-module-result-synchronous.js';
30
44
  export * from './llm-module-result-streaming.js';
31
45
  export * from './llm-choice.js';
32
46
  export * from './llm-choice-streaming.js';
@@ -47,9 +61,12 @@ export * from './filtering-module-config.js';
47
61
  export * from './input-filtering-config.js';
48
62
  export * from './output-filtering-config.js';
49
63
  export * from './filtering-stream-options.js';
50
- export * from './filter-config.js';
51
- export * from './azure-content-safety-filter-config.js';
52
- export * from './azure-content-safety.js';
64
+ export * from './input-filter-config.js';
65
+ export * from './output-filter-config.js';
66
+ export * from './azure-content-safety-input-filter-config.js';
67
+ export * from './azure-content-safety-output-filter-config.js';
68
+ export * from './azure-content-safety-input.js';
69
+ export * from './azure-content-safety-output.js';
53
70
  export * from './azure-threshold.js';
54
71
  export * from './llama-guard-38-b-filter-config.js';
55
72
  export * from './llama-guard-38-b.js';
@@ -57,6 +74,10 @@ export * from './masking-module-config.js';
57
74
  export * from './masking-provider-config.js';
58
75
  export * from './dpi-config.js';
59
76
  export * from './dpi-entity-config.js';
77
+ export * from './dpi-custom-entity.js';
78
+ export * from './dpi-standard-entity.js';
79
+ export * from './dpi-method-constant.js';
80
+ export * from './dpi-method-fabricated-data.js';
60
81
  export * from './dpi-entities.js';
61
82
  export * from './grounding-module-config.js';
62
83
  export * from './document-grounding-filter.js';
@@ -70,4 +91,7 @@ export * from './input-translation-module-config.js';
70
91
  export * from './output-translation-module-config.js';
71
92
  export * from './sap-document-translation.js';
72
93
  export * from './error-response.js';
94
+ export * from './error-response-streaming.js';
95
+ export * from './chat-completion-token-logprob.js';
96
+ export * from './choice-logprobs.js';
73
97
  //# 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,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAA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AA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC"}
@@ -4,6 +4,19 @@
4
4
  * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
5
  */
6
6
  export * from './completion-post-request.js';
7
+ export * from './embeddings-post-request.js';
8
+ export * from './embeddings-orchestration-config.js';
9
+ export * from './embeddings-input.js';
10
+ export * from './embeddings-input-text.js';
11
+ export * from './embeddings-module-configs.js';
12
+ export * from './embeddings-model-config.js';
13
+ export * from './embeddings-model-details.js';
14
+ export * from './embeddings-model-params.js';
15
+ export * from './embeddings-post-response.js';
16
+ export * from './embeddings-response.js';
17
+ export * from './embeddings-usage.js';
18
+ export * from './embedding-result.js';
19
+ export * from './embedding.js';
7
20
  export * from './chat-messages.js';
8
21
  export * from './templating-chat-message.js';
9
22
  export * from './chat-message.js';
@@ -26,12 +39,13 @@ export * from './completion-post-response.js';
26
39
  export * from './completion-post-response-streaming.js';
27
40
  export * from './orchestration-config.js';
28
41
  export * from './module-configs.js';
42
+ export * from './module-results-base.js';
29
43
  export * from './module-results.js';
44
+ export * from './module-results-streaming.js';
30
45
  export * from './global-stream-options.js';
31
46
  export * from './llm-module-config.js';
32
47
  export * from './generic-module-result.js';
33
48
  export * from './llm-module-result.js';
34
- export * from './llm-module-result-synchronous.js';
35
49
  export * from './llm-module-result-streaming.js';
36
50
  export * from './llm-choice.js';
37
51
  export * from './llm-choice-streaming.js';
@@ -52,9 +66,12 @@ export * from './filtering-module-config.js';
52
66
  export * from './input-filtering-config.js';
53
67
  export * from './output-filtering-config.js';
54
68
  export * from './filtering-stream-options.js';
55
- export * from './filter-config.js';
56
- export * from './azure-content-safety-filter-config.js';
57
- export * from './azure-content-safety.js';
69
+ export * from './input-filter-config.js';
70
+ export * from './output-filter-config.js';
71
+ export * from './azure-content-safety-input-filter-config.js';
72
+ export * from './azure-content-safety-output-filter-config.js';
73
+ export * from './azure-content-safety-input.js';
74
+ export * from './azure-content-safety-output.js';
58
75
  export * from './azure-threshold.js';
59
76
  export * from './llama-guard-38-b-filter-config.js';
60
77
  export * from './llama-guard-38-b.js';
@@ -62,6 +79,10 @@ export * from './masking-module-config.js';
62
79
  export * from './masking-provider-config.js';
63
80
  export * from './dpi-config.js';
64
81
  export * from './dpi-entity-config.js';
82
+ export * from './dpi-custom-entity.js';
83
+ export * from './dpi-standard-entity.js';
84
+ export * from './dpi-method-constant.js';
85
+ export * from './dpi-method-fabricated-data.js';
65
86
  export * from './dpi-entities.js';
66
87
  export * from './grounding-module-config.js';
67
88
  export * from './document-grounding-filter.js';
@@ -75,4 +96,7 @@ export * from './input-translation-module-config.js';
75
96
  export * from './output-translation-module-config.js';
76
97
  export * from './sap-document-translation.js';
77
98
  export * from './error-response.js';
99
+ export * from './error-response-streaming.js';
100
+ export * from './chat-completion-token-logprob.js';
101
+ export * from './choice-logprobs.js';
78
102
  //# 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,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;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iC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { AzureContentSafetyInputFilterConfig } from './azure-content-safety-input-filter-config.js';
2
+ import type { LlamaGuard38BFilterConfig } from './llama-guard-38-b-filter-config.js';
3
+ /**
4
+ * Representation of the 'InputFilterConfig' schema.
5
+ */
6
+ export type InputFilterConfig = AzureContentSafetyInputFilterConfig | LlamaGuard38BFilterConfig;
7
+ //# sourceMappingURL=input-filter-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,mCAAmC,GACnC,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=input-filter-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-filter-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/input-filter-config.ts"],"names":[],"mappings":""}
@@ -1,12 +1,12 @@
1
- import type { FilterConfig } from './filter-config.js';
1
+ import type { InputFilterConfig } from './input-filter-config.js';
2
2
  /**
3
3
  * Representation of the 'InputFilteringConfig' schema.
4
4
  */
5
5
  export type InputFilteringConfig = {
6
6
  /**
7
- * Configuration for content filtering services that should be used for the given filtering step (input filtering or output filtering).
7
+ * Configuration for content filtering services that should be used for the given filtering step (input filtering).
8
8
  * Min Items: 1.
9
9
  */
10
- filters: FilterConfig[];
10
+ filters: InputFilterConfig[];
11
11
  };
12
12
  //# sourceMappingURL=input-filtering-config.d.ts.map
@@ -1 +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"}
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,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ChatDelta } from './chat-delta.js';
2
+ import type { ChoiceLogprobs } from './choice-logprobs.js';
2
3
  /**
3
4
  * Representation of the 'LlmChoiceStreaming' schema.
4
5
  */
@@ -8,10 +9,7 @@ export type LlmChoiceStreaming = {
8
9
  */
9
10
  index: number;
10
11
  delta: ChatDelta;
11
- /**
12
- * Log probabilities
13
- */
14
- logprobs?: Record<string, number[]>;
12
+ logprobs?: ChoiceLogprobs;
15
13
  /**
16
14
  * Reason for stopping the model
17
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"llm-choice-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"llm-choice-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ResponseChatMessage } from './response-chat-message.js';
2
+ import type { ChoiceLogprobs } from './choice-logprobs.js';
2
3
  /**
3
4
  * Representation of the 'LlmChoice' schema.
4
5
  */
@@ -8,10 +9,7 @@ export type LlmChoice = {
8
9
  */
9
10
  index: number;
10
11
  message: ResponseChatMessage;
11
- /**
12
- * Log probabilities
13
- */
14
- logprobs?: Record<string, number[]>;
12
+ logprobs?: ChoiceLogprobs;
15
13
  /**
16
14
  * 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
15
  * @example "stop"
@@ -1 +1 @@
1
- {"version":3,"file":"llm-choice.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"llm-choice.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-choice.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,mBAAmB,CAAC;IAC7B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -4,7 +4,7 @@
4
4
  export type LlmModuleConfig = {
5
5
  /**
6
6
  * Model name as in LLM Access configuration
7
- * @example "gpt-4"
7
+ * @example "gpt-4o-mini"
8
8
  */
9
9
  model_name: string;
10
10
  /**
@@ -15,6 +15,7 @@ export type LlmModuleConfig = {
15
15
  * "frequency_penalty": 0,
16
16
  * "presence_penalty": 0,
17
17
  * "n": 2,
18
+ * "logprobs": true,
18
19
  * "stream_options": {
19
20
  * "include_usage": true
20
21
  * }
@@ -1 +1 @@
1
- {"version":3,"file":"llm-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-config.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"llm-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-config.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -1,7 +1,38 @@
1
- import type { LLMModuleResultSynchronous } from './llm-module-result-synchronous.js';
2
- import type { LLMModuleResultStreaming } from './llm-module-result-streaming.js';
1
+ import type { LlmChoice } from './llm-choice.js';
2
+ import type { TokenUsage } from './token-usage.js';
3
3
  /**
4
4
  * Output of LLM module. Follows the OpenAI spec.
5
5
  */
6
- export type LlmModuleResult = LLMModuleResultSynchronous | LLMModuleResultStreaming;
6
+ export type LlmModuleResult = {
7
+ /**
8
+ * ID of the response
9
+ * @example "chatcmpl-9rO0aLoPKY7RtqkWi1317bazHEVFr"
10
+ */
11
+ id: string;
12
+ /**
13
+ * Object type
14
+ * @example "chat.completion"
15
+ */
16
+ object: string;
17
+ /**
18
+ * Unix timestamp
19
+ * @example 1722510700
20
+ */
21
+ created: number;
22
+ /**
23
+ * Model name
24
+ * @example "gpt-4o-mini"
25
+ */
26
+ model: string;
27
+ /**
28
+ * System fingerprint
29
+ * @example "fp_44709d6fcb"
30
+ */
31
+ system_fingerprint?: string;
32
+ /**
33
+ * Choices
34
+ */
35
+ choices: LlmChoice[];
36
+ usage: TokenUsage;
37
+ } & Record<string, any>;
7
38
  //# sourceMappingURL=llm-module-result.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"llm-module-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,0BAA0B,GAC1B,wBAAwB,CAAC"}
1
+ {"version":3,"file":"llm-module-result.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/llm-module-result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { GenericModuleResult } from './generic-module-result.js';
2
+ import type { TemplatingChatMessage } from './templating-chat-message.js';
3
+ /**
4
+ * Results of each module of /embeddings endpoint(e.g. input masking).
5
+ */
6
+ export type ModuleResultsBase = {
7
+ grounding?: GenericModuleResult;
8
+ templating?: TemplatingChatMessage;
9
+ input_translation?: GenericModuleResult;
10
+ input_masking?: GenericModuleResult;
11
+ input_filtering?: GenericModuleResult;
12
+ output_filtering?: GenericModuleResult;
13
+ output_translation?: GenericModuleResult;
14
+ };
15
+ //# sourceMappingURL=module-results-base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-results-base.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-base.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=module-results-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-results-base.js","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-base.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { ModuleResultsBase } from './module-results-base.js';
2
+ import type { LLMModuleResultStreaming } from './llm-module-result-streaming.js';
3
+ import type { LlmChoiceStreaming } from './llm-choice-streaming.js';
4
+ /**
5
+ * Streaming results of each module.
6
+ */
7
+ export type ModuleResultsStreaming = ModuleResultsBase & {
8
+ llm?: LLMModuleResultStreaming;
9
+ output_unmasking?: LlmChoiceStreaming[];
10
+ } & Record<string, any>;
11
+ //# sourceMappingURL=module-results-streaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-results-streaming.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-streaming.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACzC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=module-results-streaming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-results-streaming.js","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results-streaming.ts"],"names":[],"mappings":""}
@@ -1,20 +1,11 @@
1
- import type { GenericModuleResult } from './generic-module-result.js';
2
- import type { TemplatingChatMessage } from './templating-chat-message.js';
1
+ import type { ModuleResultsBase } from './module-results-base.js';
3
2
  import type { LlmModuleResult } from './llm-module-result.js';
4
3
  import type { LlmChoice } from './llm-choice.js';
5
- import type { LlmChoiceStreaming } from './llm-choice-streaming.js';
6
4
  /**
7
- * Results of each module.
5
+ * Synchronous results of each module.
8
6
  */
9
- export type ModuleResults = {
10
- grounding?: GenericModuleResult;
11
- templating?: TemplatingChatMessage;
12
- input_translation?: GenericModuleResult;
13
- input_masking?: GenericModuleResult;
14
- input_filtering?: GenericModuleResult;
7
+ export type ModuleResults = ModuleResultsBase & {
15
8
  llm?: LlmModuleResult;
16
- output_filtering?: GenericModuleResult;
17
- output_unmasking?: (LlmChoice | LlmChoiceStreaming)[];
18
- output_translation?: GenericModuleResult;
19
- };
9
+ output_unmasking?: LlmChoice[];
10
+ } & Record<string, any>;
20
11
  //# 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,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC,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,CAAC,SAAS,GAAG,kBAAkB,CAAC,EAAE,CAAC;IACtD,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;CAC1C,CAAC"}
1
+ {"version":3,"file":"module-results.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/module-results.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG;IAC9C,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC;CAChC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { AzureContentSafetyOutputFilterConfig } from './azure-content-safety-output-filter-config.js';
2
+ import type { LlamaGuard38BFilterConfig } from './llama-guard-38-b-filter-config.js';
3
+ /**
4
+ * Representation of the 'OutputFilterConfig' schema.
5
+ */
6
+ export type OutputFilterConfig = AzureContentSafetyOutputFilterConfig | LlamaGuard38BFilterConfig;
7
+ //# sourceMappingURL=output-filter-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-filter-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filter-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAC3G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,oCAAoC,GACpC,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=output-filter-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output-filter-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/output-filter-config.ts"],"names":[],"mappings":""}