@sap-ai-sdk/orchestration 1.13.1-20250506013213.0 → 1.13.1-20250507013216.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/api/schema/assistant-chat-message.d.ts +12 -0
- package/dist/client/api/schema/assistant-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/assistant-chat-message.js +2 -0
- package/dist/client/api/schema/assistant-chat-message.js.map +1 -0
- package/dist/client/api/schema/chat-message-content.d.ts +6 -0
- package/dist/client/api/schema/chat-message-content.d.ts.map +1 -0
- package/dist/client/api/schema/chat-message-content.js +2 -0
- package/dist/client/api/schema/chat-message-content.js.map +1 -0
- package/dist/client/api/schema/chat-message.d.ts +6 -3
- package/dist/client/api/schema/chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/developer-chat-message.d.ts +9 -0
- package/dist/client/api/schema/developer-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/developer-chat-message.js +2 -0
- package/dist/client/api/schema/developer-chat-message.js.map +1 -0
- package/dist/client/api/schema/global-stream-options.d.ts +11 -0
- package/dist/client/api/schema/global-stream-options.d.ts.map +1 -1
- package/dist/client/api/schema/image-content-url.d.ts +11 -0
- package/dist/client/api/schema/image-content-url.d.ts.map +1 -0
- package/dist/client/api/schema/{image-content.js → image-content-url.js} +1 -1
- package/dist/client/api/schema/image-content-url.js.map +1 -0
- package/dist/client/api/schema/index.d.ts +15 -7
- package/dist/client/api/schema/index.d.ts.map +1 -1
- package/dist/client/api/schema/index.js +15 -7
- package/dist/client/api/schema/index.js.map +1 -1
- package/dist/client/api/schema/input-translation-module-config.d.ts +6 -0
- package/dist/client/api/schema/input-translation-module-config.d.ts.map +1 -0
- package/dist/client/api/schema/input-translation-module-config.js +2 -0
- package/dist/client/api/schema/input-translation-module-config.js.map +1 -0
- package/dist/client/api/schema/llm-module-config.d.ts +4 -1
- package/dist/client/api/schema/llm-module-config.d.ts.map +1 -1
- package/dist/client/api/schema/{response-message-tool-call.d.ts → message-tool-call.d.ts} +3 -3
- package/dist/client/api/schema/message-tool-call.d.ts.map +1 -0
- package/dist/client/api/schema/{single-chat-message.js → message-tool-call.js} +1 -1
- package/dist/client/api/schema/message-tool-call.js.map +1 -0
- package/dist/client/api/schema/message-tool-calls.d.ts +6 -0
- package/dist/client/api/schema/message-tool-calls.d.ts.map +1 -0
- package/dist/client/api/schema/message-tool-calls.js +2 -0
- package/dist/client/api/schema/message-tool-calls.js.map +1 -0
- package/dist/client/api/schema/module-configs.d.ts +4 -0
- package/dist/client/api/schema/module-configs.d.ts.map +1 -1
- package/dist/client/api/schema/module-results.d.ts +2 -0
- package/dist/client/api/schema/module-results.d.ts.map +1 -1
- package/dist/client/api/schema/output-translation-module-config.d.ts +6 -0
- package/dist/client/api/schema/output-translation-module-config.d.ts.map +1 -0
- package/dist/client/api/schema/output-translation-module-config.js +2 -0
- package/dist/client/api/schema/output-translation-module-config.js.map +1 -0
- package/dist/client/api/schema/response-chat-message.d.ts +5 -7
- package/dist/client/api/schema/response-chat-message.d.ts.map +1 -1
- package/dist/client/api/schema/sap-document-translation.d.ts +26 -0
- package/dist/client/api/schema/sap-document-translation.d.ts.map +1 -0
- package/dist/client/api/schema/{response-message-tool-call.js → sap-document-translation.js} +1 -1
- package/dist/client/api/schema/sap-document-translation.js.map +1 -0
- package/dist/client/api/schema/system-chat-message.d.ts +9 -0
- package/dist/client/api/schema/system-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/system-chat-message.js +2 -0
- package/dist/client/api/schema/system-chat-message.js.map +1 -0
- package/dist/client/api/schema/tool-chat-message.d.ts +13 -0
- package/dist/client/api/schema/tool-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/tool-chat-message.js +2 -0
- package/dist/client/api/schema/tool-chat-message.js.map +1 -0
- package/dist/client/api/schema/user-chat-message-content-item.d.ts +10 -0
- package/dist/client/api/schema/user-chat-message-content-item.d.ts.map +1 -0
- package/dist/client/api/schema/user-chat-message-content-item.js +2 -0
- package/dist/client/api/schema/user-chat-message-content-item.js.map +1 -0
- package/dist/client/api/schema/user-chat-message-content.d.ts +6 -0
- package/dist/client/api/schema/user-chat-message-content.d.ts.map +1 -0
- package/dist/client/api/schema/user-chat-message-content.js +2 -0
- package/dist/client/api/schema/user-chat-message-content.js.map +1 -0
- package/dist/client/api/schema/user-chat-message.d.ts +9 -0
- package/dist/client/api/schema/user-chat-message.d.ts.map +1 -0
- package/dist/client/api/schema/user-chat-message.js +2 -0
- package/dist/client/api/schema/user-chat-message.js.map +1 -0
- package/dist/orchestration-response.d.ts +26 -1
- package/dist/orchestration-response.d.ts.map +1 -1
- package/dist/orchestration-response.js +44 -2
- package/dist/orchestration-response.js.map +1 -1
- package/package.json +4 -4
- package/dist/client/api/schema/image-content.d.ts +0 -14
- package/dist/client/api/schema/image-content.d.ts.map +0 -1
- package/dist/client/api/schema/image-content.js.map +0 -1
- package/dist/client/api/schema/multi-chat-message-content.d.ts +0 -7
- package/dist/client/api/schema/multi-chat-message-content.d.ts.map +0 -1
- package/dist/client/api/schema/multi-chat-message-content.js +0 -2
- package/dist/client/api/schema/multi-chat-message-content.js.map +0 -1
- package/dist/client/api/schema/multi-chat-message.d.ts +0 -12
- package/dist/client/api/schema/multi-chat-message.d.ts.map +0 -1
- package/dist/client/api/schema/multi-chat-message.js +0 -2
- package/dist/client/api/schema/multi-chat-message.js.map +0 -1
- package/dist/client/api/schema/response-message-tool-call.d.ts.map +0 -1
- package/dist/client/api/schema/response-message-tool-call.js.map +0 -1
- package/dist/client/api/schema/response-message-tool-calls.d.ts +0 -6
- package/dist/client/api/schema/response-message-tool-calls.d.ts.map +0 -1
- package/dist/client/api/schema/response-message-tool-calls.js +0 -2
- package/dist/client/api/schema/response-message-tool-calls.js.map +0 -1
- package/dist/client/api/schema/single-chat-message.d.ts +0 -11
- package/dist/client/api/schema/single-chat-message.d.ts.map +0 -1
- package/dist/client/api/schema/single-chat-message.js.map +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChatMessageContent } from './chat-message-content.js';
|
|
2
|
+
import type { MessageToolCalls } from './message-tool-calls.js';
|
|
3
|
+
/**
|
|
4
|
+
* Representation of the 'AssistantChatMessage' schema.
|
|
5
|
+
*/
|
|
6
|
+
export type AssistantChatMessage = {
|
|
7
|
+
role: 'assistant';
|
|
8
|
+
content?: ChatMessageContent;
|
|
9
|
+
refusal?: string;
|
|
10
|
+
tool_calls?: MessageToolCalls;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=assistant-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/assistant-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assistant-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/assistant-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-message-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-message-content.js","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message-content.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { SystemChatMessage } from './system-chat-message.js';
|
|
2
|
+
import type { UserChatMessage } from './user-chat-message.js';
|
|
3
|
+
import type { AssistantChatMessage } from './assistant-chat-message.js';
|
|
4
|
+
import type { ToolChatMessage } from './tool-chat-message.js';
|
|
5
|
+
import type { DeveloperChatMessage } from './developer-chat-message.js';
|
|
3
6
|
/**
|
|
4
7
|
* Representation of the 'ChatMessage' schema.
|
|
5
8
|
*/
|
|
6
|
-
export type ChatMessage =
|
|
9
|
+
export type ChatMessage = SystemChatMessage | UserChatMessage | AssistantChatMessage | ToolChatMessage | DeveloperChatMessage;
|
|
7
10
|
//# 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":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/chat-message.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,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,eAAe,GACf,oBAAoB,GACpB,eAAe,GACf,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChatMessageContent } from './chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'DeveloperChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type DeveloperChatMessage = {
|
|
6
|
+
role: 'developer';
|
|
7
|
+
content: ChatMessageContent;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=developer-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/developer-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/developer-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -9,5 +9,16 @@ export type GlobalStreamOptions = {
|
|
|
9
9
|
* Minimum: 1.
|
|
10
10
|
*/
|
|
11
11
|
chunk_size?: number;
|
|
12
|
+
/**
|
|
13
|
+
* List of delimiters to split the input text into chunks.Please note, this is a required parameter when `input_translation_module_config` or `output_translation_module_config` are configured.
|
|
14
|
+
* @example [
|
|
15
|
+
* "\n",
|
|
16
|
+
* ".",
|
|
17
|
+
* "?",
|
|
18
|
+
* "!"
|
|
19
|
+
* ]
|
|
20
|
+
* Min Items: 1.
|
|
21
|
+
*/
|
|
22
|
+
delimiters?: string[];
|
|
12
23
|
};
|
|
13
24
|
//# sourceMappingURL=global-stream-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-stream-options.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/global-stream-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"global-stream-options.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/global-stream-options.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-content-url.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content-url.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-content-url.js","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content-url.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
export * from './completion-post-request.js';
|
|
2
|
-
export * from './chat-message.js';
|
|
3
2
|
export * from './chat-messages.js';
|
|
4
3
|
export * from './templating-chat-message.js';
|
|
5
|
-
export * from './
|
|
4
|
+
export * from './chat-message.js';
|
|
5
|
+
export * from './system-chat-message.js';
|
|
6
|
+
export * from './chat-message-content.js';
|
|
7
|
+
export * from './assistant-chat-message.js';
|
|
8
|
+
export * from './user-chat-message.js';
|
|
9
|
+
export * from './user-chat-message-content.js';
|
|
10
|
+
export * from './user-chat-message-content-item.js';
|
|
11
|
+
export * from './image-content-url.js';
|
|
12
|
+
export * from './tool-chat-message.js';
|
|
13
|
+
export * from './developer-chat-message.js';
|
|
6
14
|
export * from './response-chat-message.js';
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './multi-chat-message.js';
|
|
10
|
-
export * from './multi-chat-message-content.js';
|
|
15
|
+
export * from './message-tool-calls.js';
|
|
16
|
+
export * from './message-tool-call.js';
|
|
11
17
|
export * from './text-content.js';
|
|
12
|
-
export * from './image-content.js';
|
|
13
18
|
export * from './chat-delta.js';
|
|
14
19
|
export * from './tool-call-chunk.js';
|
|
15
20
|
export * from './completion-post-response.js';
|
|
@@ -61,5 +66,8 @@ export * from './data-repository-type.js';
|
|
|
61
66
|
export * from './key-value-list-pair.js';
|
|
62
67
|
export * from './search-document-key-value-list-pair.js';
|
|
63
68
|
export * from './search-select-option-enum.js';
|
|
69
|
+
export * from './input-translation-module-config.js';
|
|
70
|
+
export * from './output-translation-module-config.js';
|
|
71
|
+
export * from './sap-document-translation.js';
|
|
64
72
|
export * from './error-response.js';
|
|
65
73
|
//# 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,
|
|
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,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,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,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"}
|
|
@@ -4,17 +4,22 @@
|
|
|
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 './chat-message.js';
|
|
8
7
|
export * from './chat-messages.js';
|
|
9
8
|
export * from './templating-chat-message.js';
|
|
10
|
-
export * from './
|
|
9
|
+
export * from './chat-message.js';
|
|
10
|
+
export * from './system-chat-message.js';
|
|
11
|
+
export * from './chat-message-content.js';
|
|
12
|
+
export * from './assistant-chat-message.js';
|
|
13
|
+
export * from './user-chat-message.js';
|
|
14
|
+
export * from './user-chat-message-content.js';
|
|
15
|
+
export * from './user-chat-message-content-item.js';
|
|
16
|
+
export * from './image-content-url.js';
|
|
17
|
+
export * from './tool-chat-message.js';
|
|
18
|
+
export * from './developer-chat-message.js';
|
|
11
19
|
export * from './response-chat-message.js';
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './multi-chat-message.js';
|
|
15
|
-
export * from './multi-chat-message-content.js';
|
|
20
|
+
export * from './message-tool-calls.js';
|
|
21
|
+
export * from './message-tool-call.js';
|
|
16
22
|
export * from './text-content.js';
|
|
17
|
-
export * from './image-content.js';
|
|
18
23
|
export * from './chat-delta.js';
|
|
19
24
|
export * from './tool-call-chunk.js';
|
|
20
25
|
export * from './completion-post-response.js';
|
|
@@ -66,5 +71,8 @@ export * from './data-repository-type.js';
|
|
|
66
71
|
export * from './key-value-list-pair.js';
|
|
67
72
|
export * from './search-document-key-value-list-pair.js';
|
|
68
73
|
export * from './search-select-option-enum.js';
|
|
74
|
+
export * from './input-translation-module-config.js';
|
|
75
|
+
export * from './output-translation-module-config.js';
|
|
76
|
+
export * from './sap-document-translation.js';
|
|
69
77
|
export * from './error-response.js';
|
|
70
78
|
//# 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,
|
|
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;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,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2BAA2B,CAAC;AAC1C,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,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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SAPDocumentTranslation } from './sap-document-translation.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'InputTranslationModuleConfig' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTranslationModuleConfig = SAPDocumentTranslation;
|
|
6
|
+
//# sourceMappingURL=input-translation-module-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-translation-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/input-translation-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-translation-module-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/input-translation-module-config.ts"],"names":[],"mappings":""}
|
|
@@ -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
|
|
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,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Representation of the '
|
|
2
|
+
* Representation of the 'MessageToolCall' schema.
|
|
3
3
|
*/
|
|
4
|
-
export type
|
|
4
|
+
export type MessageToolCall = {
|
|
5
5
|
/**
|
|
6
6
|
* The ID of the tool call.
|
|
7
7
|
*/
|
|
@@ -24,4 +24,4 @@ export type ResponseMessageToolCall = {
|
|
|
24
24
|
arguments: string;
|
|
25
25
|
} & Record<string, any>;
|
|
26
26
|
} & Record<string, any>;
|
|
27
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=message-tool-call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-tool-call.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/message-tool-call.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE;QACR;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-tool-call.js","sourceRoot":"","sources":["../../../../src/client/api/schema/message-tool-call.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-tool-calls.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/message-tool-calls.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-tool-calls.js","sourceRoot":"","sources":["../../../../src/client/api/schema/message-tool-calls.ts"],"names":[],"mappings":""}
|
|
@@ -3,6 +3,8 @@ 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
5
|
import type { GroundingModuleConfig } from './grounding-module-config.js';
|
|
6
|
+
import type { InputTranslationModuleConfig } from './input-translation-module-config.js';
|
|
7
|
+
import type { OutputTranslationModuleConfig } from './output-translation-module-config.js';
|
|
6
8
|
/**
|
|
7
9
|
* Representation of the 'ModuleConfigs' schema.
|
|
8
10
|
*/
|
|
@@ -12,5 +14,7 @@ export type ModuleConfigs = {
|
|
|
12
14
|
filtering_module_config?: FilteringModuleConfig;
|
|
13
15
|
masking_module_config?: MaskingModuleConfig;
|
|
14
16
|
grounding_module_config?: GroundingModuleConfig;
|
|
17
|
+
input_translation_module_config?: InputTranslationModuleConfig;
|
|
18
|
+
output_translation_module_config?: OutputTranslationModuleConfig;
|
|
15
19
|
};
|
|
16
20
|
//# 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;
|
|
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,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAC3F;;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;IAChD,+BAA+B,CAAC,EAAE,4BAA4B,CAAC;IAC/D,gCAAgC,CAAC,EAAE,6BAA6B,CAAC;CAClE,CAAC"}
|
|
@@ -9,10 +9,12 @@ import type { LlmChoiceStreaming } from './llm-choice-streaming.js';
|
|
|
9
9
|
export type ModuleResults = {
|
|
10
10
|
grounding?: GenericModuleResult;
|
|
11
11
|
templating?: TemplatingChatMessage;
|
|
12
|
+
input_translation?: GenericModuleResult;
|
|
12
13
|
input_masking?: GenericModuleResult;
|
|
13
14
|
input_filtering?: GenericModuleResult;
|
|
14
15
|
llm?: LlmModuleResult;
|
|
15
16
|
output_filtering?: GenericModuleResult;
|
|
16
17
|
output_unmasking?: (LlmChoice | LlmChoiceStreaming)[];
|
|
18
|
+
output_translation?: GenericModuleResult;
|
|
17
19
|
};
|
|
18
20
|
//# 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,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;
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SAPDocumentTranslation } from './sap-document-translation.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'OutputTranslationModuleConfig' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type OutputTranslationModuleConfig = SAPDocumentTranslation;
|
|
6
|
+
//# sourceMappingURL=output-translation-module-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-translation-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/output-translation-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5E;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-translation-module-config.js","sourceRoot":"","sources":["../../../../src/client/api/schema/output-translation-module-config.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ResponseMessageToolCalls } from './response-message-tool-calls.js';
|
|
1
|
+
import type { MessageToolCalls } from './message-tool-calls.js';
|
|
3
2
|
/**
|
|
4
3
|
* Representation of the 'ResponseChatMessage' schema.
|
|
5
4
|
*/
|
|
6
|
-
export type ResponseChatMessage =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*/
|
|
5
|
+
export type ResponseChatMessage = {
|
|
6
|
+
role?: 'assistant';
|
|
7
|
+
content?: string;
|
|
10
8
|
refusal?: string;
|
|
11
|
-
tool_calls?:
|
|
9
|
+
tool_calls?: MessageToolCalls;
|
|
12
10
|
};
|
|
13
11
|
//# sourceMappingURL=response-chat-message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"response-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Representation of the 'SAPDocumentTranslation' schema.
|
|
3
|
+
*/
|
|
4
|
+
export type SAPDocumentTranslation = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of document translation provider
|
|
7
|
+
* @example "sap_document_translation"
|
|
8
|
+
*/
|
|
9
|
+
type: 'sap_document_translation';
|
|
10
|
+
/**
|
|
11
|
+
* Configuration for `sap_document_translation` translation provider.
|
|
12
|
+
*/
|
|
13
|
+
config: {
|
|
14
|
+
/**
|
|
15
|
+
* Language of the text to be translated.
|
|
16
|
+
* @example "de-DE"
|
|
17
|
+
*/
|
|
18
|
+
source_language?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Language to which the text should be translated.
|
|
21
|
+
* @example "en-US"
|
|
22
|
+
*/
|
|
23
|
+
target_language: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=sap-document-translation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sap-document-translation.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/sap-document-translation.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,IAAI,EAAE,0BAA0B,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE;QACN;;;WAGG;QACH,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB;;;WAGG;QACH,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sap-document-translation.js","sourceRoot":"","sources":["../../../../src/client/api/schema/sap-document-translation.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChatMessageContent } from './chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'SystemChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type SystemChatMessage = {
|
|
6
|
+
role: 'system';
|
|
7
|
+
content: ChatMessageContent;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=system-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/system-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/system-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ChatMessageContent } from './chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'ToolChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type ToolChatMessage = {
|
|
6
|
+
/**
|
|
7
|
+
* @example "tool"
|
|
8
|
+
*/
|
|
9
|
+
role: 'tool';
|
|
10
|
+
tool_call_id: string;
|
|
11
|
+
content: ChatMessageContent;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=tool-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/tool-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/tool-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ImageContentUrl } from './image-content-url.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessageContentItem' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessageContentItem = {
|
|
6
|
+
type: 'text' | 'image_url';
|
|
7
|
+
text?: string;
|
|
8
|
+
image_url?: ImageContentUrl;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=user-chat-message-content-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content-item.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message-content-item.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content-item.js","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message-content-item.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UserChatMessageContentItem } from './user-chat-message-content-item.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessageContent' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessageContent = string | UserChatMessageContentItem[];
|
|
6
|
+
//# sourceMappingURL=user-chat-message-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message-content.js","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message-content.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { UserChatMessageContent } from './user-chat-message-content.js';
|
|
2
|
+
/**
|
|
3
|
+
* Representation of the 'UserChatMessage' schema.
|
|
4
|
+
*/
|
|
5
|
+
export type UserChatMessage = {
|
|
6
|
+
content: UserChatMessageContent;
|
|
7
|
+
role: 'user';
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=user-chat-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,sBAAsB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/user-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HttpResponse } from '@sap-cloud-sdk/http-client';
|
|
2
|
-
import type { CompletionPostResponse, TokenUsage } from './client/api/schema/index.js';
|
|
2
|
+
import type { CompletionPostResponse, TokenUsage, ChatMessages, AssistantChatMessage, MessageToolCalls } from './client/api/schema/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Representation of an orchestration response.
|
|
5
5
|
*/
|
|
@@ -28,6 +28,31 @@ export declare class OrchestrationResponse {
|
|
|
28
28
|
* @returns The message content.
|
|
29
29
|
*/
|
|
30
30
|
getContent(choiceIndex?: number): string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Parses the orchestration response and returns the tool calls generated by the model.
|
|
33
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
34
|
+
* @returns The message tool calls.
|
|
35
|
+
*/
|
|
36
|
+
getToolCalls(choiceIndex?: number): MessageToolCalls | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Parses the orchestration response and returns the refusal message generated by the model.
|
|
39
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
40
|
+
* @returns The refusal string.
|
|
41
|
+
*/
|
|
42
|
+
getRefusal(choiceIndex?: number): string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Messages that can be used for subsequent prompts as message history.
|
|
45
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
46
|
+
* @returns A list of all messages.
|
|
47
|
+
*/
|
|
48
|
+
getAllMessages(choiceIndex?: number): ChatMessages;
|
|
49
|
+
/**
|
|
50
|
+
* Gets the assistant message from the response.
|
|
51
|
+
* @param choiceIndex - The index of the choice to use (default is 0).
|
|
52
|
+
* @returns The assistant message.
|
|
53
|
+
*/
|
|
54
|
+
getAssistantMessage(choiceIndex?: number): AssistantChatMessage | undefined;
|
|
31
55
|
private getChoices;
|
|
56
|
+
private findChoiceByIndex;
|
|
32
57
|
}
|
|
33
58
|
//# sourceMappingURL=orchestration-response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-response.d.ts","sourceRoot":"","sources":["../src/orchestration-response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EACV,sBAAsB,EACtB,UAAU,
|
|
1
|
+
{"version":3,"file":"orchestration-response.d.ts","sourceRoot":"","sources":["../src/orchestration-response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EACV,sBAAsB,EACtB,UAAU,EAEV,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,qBAAa,qBAAqB;aAKJ,WAAW,EAAE,YAAY;IAJrD;;OAEG;IACH,SAAgB,IAAI,EAAE,sBAAsB,CAAC;gBACjB,WAAW,EAAE,YAAY;IAIrD;;;OAGG;IACH,aAAa,IAAI,UAAU;IAG3B;;;;OAIG;IACH,eAAe,CAAC,WAAW,SAAI,GAAG,MAAM,GAAG,SAAS;IAIpD;;;;;OAKG;IACH,UAAU,CAAC,WAAW,SAAI,GAAG,MAAM,GAAG,SAAS;IAa/C;;;;OAIG;IACH,YAAY,CAAC,WAAW,SAAI,GAAG,gBAAgB,GAAG,SAAS;IAK3D;;;;OAIG;IACH,UAAU,CAAC,WAAW,SAAI,GAAG,MAAM,GAAG,SAAS;IAK/C;;;;OAIG;IACH,cAAc,CAAC,WAAW,SAAI,GAAG,YAAY;IAM7C;;;;OAIG;IACH,mBAAmB,CAAC,WAAW,SAAI,GAAG,oBAAoB,GAAG,SAAS;IAItE,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,iBAAiB;CAQ1B"}
|
|
@@ -24,7 +24,7 @@ export class OrchestrationResponse {
|
|
|
24
24
|
* @returns The finish reason.
|
|
25
25
|
*/
|
|
26
26
|
getFinishReason(choiceIndex = 0) {
|
|
27
|
-
return this.
|
|
27
|
+
return this.findChoiceByIndex(choiceIndex)?.finish_reason;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Parses the orchestration response and returns the content.
|
|
@@ -33,15 +33,57 @@ export class OrchestrationResponse {
|
|
|
33
33
|
* @returns The message content.
|
|
34
34
|
*/
|
|
35
35
|
getContent(choiceIndex = 0) {
|
|
36
|
-
const choice = this.
|
|
36
|
+
const choice = this.findChoiceByIndex(choiceIndex);
|
|
37
37
|
if (choice?.message?.content === '' &&
|
|
38
38
|
choice?.finish_reason === 'content_filter') {
|
|
39
39
|
throw new Error('Content generated by the LLM was filtered by the output filter. Please try again with a different prompt or filter configuration.');
|
|
40
40
|
}
|
|
41
41
|
return choice?.message?.content;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Parses the orchestration response and returns the tool calls generated by the model.
|
|
45
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
46
|
+
* @returns The message tool calls.
|
|
47
|
+
*/
|
|
48
|
+
getToolCalls(choiceIndex = 0) {
|
|
49
|
+
const choice = this.findChoiceByIndex(choiceIndex);
|
|
50
|
+
return choice?.message?.tool_calls;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Parses the orchestration response and returns the refusal message generated by the model.
|
|
54
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
55
|
+
* @returns The refusal string.
|
|
56
|
+
*/
|
|
57
|
+
getRefusal(choiceIndex = 0) {
|
|
58
|
+
const choice = this.findChoiceByIndex(choiceIndex);
|
|
59
|
+
return choice?.message?.refusal;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Messages that can be used for subsequent prompts as message history.
|
|
63
|
+
* @param choiceIndex - The index of the choice to parse.
|
|
64
|
+
* @returns A list of all messages.
|
|
65
|
+
*/
|
|
66
|
+
getAllMessages(choiceIndex = 0) {
|
|
67
|
+
const messages = this.data.module_results.templating ?? [];
|
|
68
|
+
const content = this.findChoiceByIndex(choiceIndex)?.message;
|
|
69
|
+
return content ? [...messages, content] : messages;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Gets the assistant message from the response.
|
|
73
|
+
* @param choiceIndex - The index of the choice to use (default is 0).
|
|
74
|
+
* @returns The assistant message.
|
|
75
|
+
*/
|
|
76
|
+
getAssistantMessage(choiceIndex = 0) {
|
|
77
|
+
return this.findChoiceByIndex(choiceIndex)?.message;
|
|
78
|
+
}
|
|
43
79
|
getChoices() {
|
|
44
80
|
return this.data.orchestration_result.choices;
|
|
45
81
|
}
|
|
82
|
+
findChoiceByIndex(index) {
|
|
83
|
+
// TODO: replace cast with LLMChoice[] after the bug in orchestration, where
|
|
84
|
+
// 'role' in ResponseChatMessage is optional when it should be mandatory, is fixed.
|
|
85
|
+
// https://github.com/SAP/ai-sdk-js-backlog/issues/306
|
|
86
|
+
return this.getChoices().find((c) => c.index === index);
|
|
87
|
+
}
|
|
46
88
|
}
|
|
47
89
|
//# sourceMappingURL=orchestration-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-response.js","sourceRoot":"","sources":["../src/orchestration-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orchestration-response.js","sourceRoot":"","sources":["../src/orchestration-response.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAKJ;IAJ5B;;OAEG;IACa,IAAI,CAAyB;IAC7C,YAA4B,WAAyB;QAAzB,gBAAW,GAAX,WAAW,CAAc;QACnD,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAC/B,CAAC;IAED;;;OAGG;IACH,aAAa;QACX,OAAO,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,KAAM,CAAC;IAC/C,CAAC;IACD;;;;OAIG;IACH,eAAe,CAAC,WAAW,GAAG,CAAC;QAC7B,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACH,UAAU,CAAC,WAAW,GAAG,CAAC;QACxB,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;QACnD,IACE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,EAAE;YAC/B,MAAM,EAAE,aAAa,KAAK,gBAAgB,EAC1C,CAAC;YACD,MAAM,IAAI,KAAK,CACb,mIAAmI,CACpI,CAAC;QACJ,CAAC;QACD,OAAO,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;IAClC,CAAC;IAED;;;;OAIG;IACH,YAAY,CAAC,WAAW,GAAG,CAAC;QAC1B,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;QACnD,OAAO,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC;IACrC,CAAC;IAED;;;;OAIG;IACH,UAAU,CAAC,WAAW,GAAG,CAAC;QACxB,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;QACnD,OAAO,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC;IAClC,CAAC;IAED;;;;OAIG;IACH,cAAc,CAAC,WAAW,GAAG,CAAC;QAC5B,MAAM,QAAQ,GAAkB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,UAAU,IAAI,EAAE,CAAC;QAC1E,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC7D,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;IACrD,CAAC;IAED;;;;OAIG;IACH,mBAAmB,CAAC,WAAW,GAAG,CAAC;QACjC,OAAO,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtD,CAAC;IAEO,UAAU;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC;IAChD,CAAC;IAEO,iBAAiB,CAAC,KAAa;QACrC,4EAA4E;QAC5E,mFAAmF;QACnF,sDAAsD;QACtD,OAAQ,IAAI,CAAC,UAAU,EAAU,CAAC,IAAI,CACpC,CAAC,CAAoB,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,KAAK,CAC5C,CAAC;IACJ,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/orchestration",
|
|
3
|
-
"version": "1.13.1-
|
|
3
|
+
"version": "1.13.1-20250507013216.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@sap-cloud-sdk/util": "^4.0.2",
|
|
24
24
|
"yaml": "^2.7.1",
|
|
25
|
-
"@sap-ai-sdk/core": "^1.13.1-
|
|
26
|
-
"@sap-ai-sdk/ai-api": "^1.13.1-
|
|
27
|
-
"@sap-ai-sdk/prompt-registry": "^1.13.1-
|
|
25
|
+
"@sap-ai-sdk/core": "^1.13.1-20250507013216.0",
|
|
26
|
+
"@sap-ai-sdk/ai-api": "^1.13.1-20250507013216.0",
|
|
27
|
+
"@sap-ai-sdk/prompt-registry": "^1.13.1-20250507013216.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@sap-cloud-sdk/http-client": "^4.0.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-content.js","sourceRoot":"","sources":["../../../../src/client/api/schema/image-content.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { TextContent } from './text-content.js';
|
|
2
|
-
import type { ImageContent } from './image-content.js';
|
|
3
|
-
/**
|
|
4
|
-
* Representation of the 'MultiChatMessageContent' schema.
|
|
5
|
-
*/
|
|
6
|
-
export type MultiChatMessageContent = TextContent | ImageContent;
|
|
7
|
-
//# sourceMappingURL=multi-chat-message-content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-chat-message-content.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-chat-message-content.js","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message-content.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { MultiChatMessageContent } from './multi-chat-message-content.js';
|
|
2
|
-
/**
|
|
3
|
-
* Representation of the 'MultiChatMessage' schema.
|
|
4
|
-
*/
|
|
5
|
-
export type MultiChatMessage = {
|
|
6
|
-
/**
|
|
7
|
-
* @example "user"
|
|
8
|
-
*/
|
|
9
|
-
role: string;
|
|
10
|
-
content: MultiChatMessageContent[];
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=multi-chat-message.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multi-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/multi-chat-message.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response-message-tool-call.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-call.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE;QACR;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response-message-tool-call.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-call.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ResponseMessageToolCall } from './response-message-tool-call.js';
|
|
2
|
-
/**
|
|
3
|
-
* The tool calls generated by the model, such as function calls.
|
|
4
|
-
*/
|
|
5
|
-
export type ResponseMessageToolCalls = ResponseMessageToolCall[];
|
|
6
|
-
//# sourceMappingURL=response-message-tool-calls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response-message-tool-calls.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-calls.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response-message-tool-calls.js","sourceRoot":"","sources":["../../../../src/client/api/schema/response-message-tool-calls.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"single-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/api/schema/single-chat-message.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"single-chat-message.js","sourceRoot":"","sources":["../../../../src/client/api/schema/single-chat-message.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|