@workglow/ai 0.0.108 → 0.0.110
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/browser.js +181 -118
- package/dist/browser.js.map +23 -22
- package/dist/bun.js +181 -118
- package/dist/bun.js.map +23 -22
- package/dist/node.js +181 -118
- package/dist/node.js.map +23 -22
- package/dist/provider/AiProvider.d.ts +4 -0
- package/dist/provider/AiProvider.d.ts.map +1 -1
- package/dist/task/CountTokensTask.d.ts +25 -7
- package/dist/task/CountTokensTask.d.ts.map +1 -1
- package/dist/task/DocumentEnricherTask.d.ts.map +1 -1
- package/dist/task/ModelInfoTask.d.ts +211 -0
- package/dist/task/ModelInfoTask.d.ts.map +1 -0
- package/dist/task/RerankerTask.d.ts.map +1 -1
- package/dist/task/TextClassificationTask.d.ts +59 -21
- package/dist/task/TextClassificationTask.d.ts.map +1 -1
- package/dist/task/TextFillMaskTask.d.ts +70 -26
- package/dist/task/TextFillMaskTask.d.ts.map +1 -1
- package/dist/task/TextGenerationTask.d.ts +27 -8
- package/dist/task/TextGenerationTask.d.ts.map +1 -1
- package/dist/task/TextLanguageDetectionTask.d.ts +59 -21
- package/dist/task/TextLanguageDetectionTask.d.ts.map +1 -1
- package/dist/task/TextNamedEntityRecognitionTask.d.ts +70 -26
- package/dist/task/TextNamedEntityRecognitionTask.d.ts.map +1 -1
- package/dist/task/TextQuestionAnswerTask.d.ts +39 -11
- package/dist/task/TextQuestionAnswerTask.d.ts.map +1 -1
- package/dist/task/TextRewriterTask.d.ts +27 -8
- package/dist/task/TextRewriterTask.d.ts.map +1 -1
- package/dist/task/TextSummaryTask.d.ts +27 -8
- package/dist/task/TextSummaryTask.d.ts.map +1 -1
- package/dist/task/TextTranslationTask.d.ts +27 -8
- package/dist/task/TextTranslationTask.d.ts.map +1 -1
- package/dist/task/ToolCallingTask.d.ts +45 -13
- package/dist/task/ToolCallingTask.d.ts.map +1 -1
- package/dist/task/base/AiTask.d.ts.map +1 -1
- package/dist/task/index.d.ts +3 -1
- package/dist/task/index.d.ts.map +1 -1
- package/package.json +17 -16
|
@@ -10,9 +10,18 @@ export declare const TextLanguageDetectionInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly text: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Text";
|
|
16
|
+
readonly description: "The text to detect the language of";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Text";
|
|
22
|
+
readonly description: "The text to detect the language of";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly maxLanguages: {
|
|
18
27
|
readonly type: "number";
|
|
@@ -87,26 +96,52 @@ export declare const TextLanguageDetectionOutputSchema: {
|
|
|
87
96
|
readonly type: "object";
|
|
88
97
|
readonly properties: {
|
|
89
98
|
readonly languages: {
|
|
90
|
-
readonly
|
|
91
|
-
|
|
92
|
-
readonly
|
|
93
|
-
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
readonly anyOf: readonly [{
|
|
100
|
+
readonly type: "array";
|
|
101
|
+
readonly items: {
|
|
102
|
+
readonly type: "object";
|
|
103
|
+
readonly properties: {
|
|
104
|
+
readonly language: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly title: "Language";
|
|
107
|
+
readonly description: "The language";
|
|
108
|
+
};
|
|
109
|
+
readonly score: {
|
|
110
|
+
readonly type: "number";
|
|
111
|
+
readonly title: "Score";
|
|
112
|
+
readonly description: "The confidence score for this language";
|
|
113
|
+
};
|
|
98
114
|
};
|
|
99
|
-
readonly
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
115
|
+
readonly required: readonly ["language", "score"];
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
};
|
|
118
|
+
readonly title: "Languages";
|
|
119
|
+
readonly description: "The languages with their scores";
|
|
120
|
+
}, {
|
|
121
|
+
readonly type: "array";
|
|
122
|
+
readonly items: {
|
|
123
|
+
readonly type: "array";
|
|
124
|
+
readonly items: {
|
|
125
|
+
readonly type: "object";
|
|
126
|
+
readonly properties: {
|
|
127
|
+
readonly language: {
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
readonly title: "Language";
|
|
130
|
+
readonly description: "The language";
|
|
131
|
+
};
|
|
132
|
+
readonly score: {
|
|
133
|
+
readonly type: "number";
|
|
134
|
+
readonly title: "Score";
|
|
135
|
+
readonly description: "The confidence score for this language";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly required: readonly ["language", "score"];
|
|
139
|
+
readonly additionalProperties: false;
|
|
103
140
|
};
|
|
141
|
+
readonly title: "Languages";
|
|
142
|
+
readonly description: "The languages with their scores";
|
|
104
143
|
};
|
|
105
|
-
|
|
106
|
-
readonly additionalProperties: false;
|
|
107
|
-
};
|
|
108
|
-
readonly title: "Languages";
|
|
109
|
-
readonly description: "The languages with their scores";
|
|
144
|
+
}];
|
|
110
145
|
};
|
|
111
146
|
};
|
|
112
147
|
readonly required: readonly ["languages"];
|
|
@@ -135,7 +170,10 @@ export declare const textLanguageDetection: (input: TextLanguageDetectionTaskInp
|
|
|
135
170
|
languages: {
|
|
136
171
|
score: number;
|
|
137
172
|
language: string;
|
|
138
|
-
}[]
|
|
173
|
+
}[] | {
|
|
174
|
+
score: number;
|
|
175
|
+
language: string;
|
|
176
|
+
}[][];
|
|
139
177
|
}>;
|
|
140
178
|
declare module "@workglow/task-graph" {
|
|
141
179
|
interface Workflow {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLanguageDetectionTask.d.ts","sourceRoot":"","sources":["../../src/task/TextLanguageDetectionTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG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AAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,qBAAqB,EAAE,cAAc,CACnC,8BAA8B,EAC9B,+BAA+B,EAC/B,kBAAkB,CACnB,CAAC;KACH;CACF"}
|
|
@@ -10,9 +10,18 @@ export declare const TextNamedEntityRecognitionInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly text: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Text";
|
|
16
|
+
readonly description: "The text to extract named entities from";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Text";
|
|
22
|
+
readonly description: "The text to extract named entities from";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly blockList: {
|
|
18
27
|
readonly type: "array";
|
|
@@ -89,31 +98,62 @@ export declare const TextNamedEntityRecognitionOutputSchema: {
|
|
|
89
98
|
readonly type: "object";
|
|
90
99
|
readonly properties: {
|
|
91
100
|
readonly entities: {
|
|
92
|
-
readonly
|
|
93
|
-
|
|
94
|
-
readonly
|
|
95
|
-
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
readonly
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
readonly anyOf: readonly [{
|
|
102
|
+
readonly type: "array";
|
|
103
|
+
readonly items: {
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly properties: {
|
|
106
|
+
readonly entity: {
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly title: "Entity";
|
|
109
|
+
readonly description: "The type of the named entity";
|
|
110
|
+
};
|
|
111
|
+
readonly score: {
|
|
112
|
+
readonly type: "number";
|
|
113
|
+
readonly title: "Score";
|
|
114
|
+
readonly description: "The confidence score for this entity";
|
|
115
|
+
};
|
|
116
|
+
readonly word: {
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly title: "Word";
|
|
119
|
+
readonly description: "The extracted text of the named entity";
|
|
120
|
+
};
|
|
105
121
|
};
|
|
106
|
-
readonly
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
122
|
+
readonly required: readonly ["entity", "score", "word"];
|
|
123
|
+
readonly additionalProperties: false;
|
|
124
|
+
};
|
|
125
|
+
readonly title: "Entities";
|
|
126
|
+
readonly description: "The extracted named entities with their types, scores, and text";
|
|
127
|
+
}, {
|
|
128
|
+
readonly type: "array";
|
|
129
|
+
readonly items: {
|
|
130
|
+
readonly type: "array";
|
|
131
|
+
readonly items: {
|
|
132
|
+
readonly type: "object";
|
|
133
|
+
readonly properties: {
|
|
134
|
+
readonly entity: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly title: "Entity";
|
|
137
|
+
readonly description: "The type of the named entity";
|
|
138
|
+
};
|
|
139
|
+
readonly score: {
|
|
140
|
+
readonly type: "number";
|
|
141
|
+
readonly title: "Score";
|
|
142
|
+
readonly description: "The confidence score for this entity";
|
|
143
|
+
};
|
|
144
|
+
readonly word: {
|
|
145
|
+
readonly type: "string";
|
|
146
|
+
readonly title: "Word";
|
|
147
|
+
readonly description: "The extracted text of the named entity";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly required: readonly ["entity", "score", "word"];
|
|
151
|
+
readonly additionalProperties: false;
|
|
110
152
|
};
|
|
153
|
+
readonly title: "Entities";
|
|
154
|
+
readonly description: "The extracted named entities with their types, scores, and text";
|
|
111
155
|
};
|
|
112
|
-
|
|
113
|
-
readonly additionalProperties: false;
|
|
114
|
-
};
|
|
115
|
-
readonly title: "Entities";
|
|
116
|
-
readonly description: "The extracted named entities with their types, scores, and text";
|
|
156
|
+
}];
|
|
117
157
|
};
|
|
118
158
|
};
|
|
119
159
|
readonly required: readonly ["entities"];
|
|
@@ -143,7 +183,11 @@ export declare const textNamedEntityRecognition: (input: TextNamedEntityRecognit
|
|
|
143
183
|
score: number;
|
|
144
184
|
entity: string;
|
|
145
185
|
word: string;
|
|
146
|
-
}[]
|
|
186
|
+
}[] | {
|
|
187
|
+
score: number;
|
|
188
|
+
entity: string;
|
|
189
|
+
word: string;
|
|
190
|
+
}[][];
|
|
147
191
|
}>;
|
|
148
192
|
declare module "@workglow/task-graph" {
|
|
149
193
|
interface Workflow {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextNamedEntityRecognitionTask.d.ts","sourceRoot":"","sources":["../../src/task/TextNamedEntityRecognitionTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvC,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"TextNamedEntityRecognitionTask.d.ts","sourceRoot":"","sources":["../../src/task/TextNamedEntityRecognitionTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvC,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBf,CAAC;AAEpC,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChB,CAAC;AAEpC,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,sCAAsC,CAC9C,CAAC;AAEF;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,MAAM,CACxD,mCAAmC,EACnC,oCAAoC,CACrC;IACC,OAAc,IAAI,SAAoC;IACtD,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAA8B;IACjD,OAAc,WAAW,SAAuC;WAClD,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,GACrC,OAAO,mCAAmC,EAC1C,SAAS,kBAAkB;;;;;;;;;;EAK5B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,0BAA0B,EAAE,cAAc,CACxC,mCAAmC,EACnC,oCAAoC,EACpC,kBAAkB,CACnB,CAAC;KACH;CACF"}
|
|
@@ -10,14 +10,32 @@ export declare const TextQuestionAnswerInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly context: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Context";
|
|
16
|
+
readonly description: "The context of the question";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Context";
|
|
22
|
+
readonly description: "The context of the question";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly question: {
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
|
|
27
|
+
readonly anyOf: readonly [{
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
readonly title: "Question";
|
|
30
|
+
readonly description: "The question to answer";
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "array";
|
|
33
|
+
readonly items: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
readonly title: "Question";
|
|
36
|
+
readonly description: "The question to answer";
|
|
37
|
+
};
|
|
38
|
+
}];
|
|
21
39
|
};
|
|
22
40
|
readonly model: {
|
|
23
41
|
readonly oneOf: readonly [{
|
|
@@ -84,10 +102,20 @@ export declare const TextQuestionAnswerOutputSchema: {
|
|
|
84
102
|
readonly type: "object";
|
|
85
103
|
readonly properties: {
|
|
86
104
|
readonly text: {
|
|
87
|
-
readonly
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
105
|
+
readonly anyOf: readonly [{
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
readonly title: "Text";
|
|
108
|
+
readonly description: "The generated text";
|
|
109
|
+
readonly "x-stream": "append";
|
|
110
|
+
}, {
|
|
111
|
+
readonly type: "array";
|
|
112
|
+
readonly items: {
|
|
113
|
+
readonly type: "string";
|
|
114
|
+
readonly title: "Text";
|
|
115
|
+
readonly description: "The generated text";
|
|
116
|
+
readonly "x-stream": "append";
|
|
117
|
+
};
|
|
118
|
+
}];
|
|
91
119
|
};
|
|
92
120
|
};
|
|
93
121
|
readonly required: readonly ["text"];
|
|
@@ -113,7 +141,7 @@ export declare class TextQuestionAnswerTask extends StreamingAiTask<TextQuestion
|
|
|
113
141
|
* @returns Promise resolving to the generated answer(s)
|
|
114
142
|
*/
|
|
115
143
|
export declare const textQuestionAnswer: (input: TextQuestionAnswerTaskInput, config?: JobQueueTaskConfig) => Promise<{
|
|
116
|
-
text: string;
|
|
144
|
+
text: string | string[];
|
|
117
145
|
}>;
|
|
118
146
|
declare module "@workglow/task-graph" {
|
|
119
147
|
interface Workflow {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextQuestionAnswerTask.d.ts","sourceRoot":"","sources":["../../src/task/TextQuestionAnswerTask.ts"],"names":[],"m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B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,kBAAkB,EAAE,cAAc,CAChC,2BAA2B,EAC3B,4BAA4B,EAC5B,kBAAkB,CACnB,CAAC;KACH;CACF"}
|
|
@@ -10,9 +10,18 @@ export declare const TextRewriterInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly text: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Text";
|
|
16
|
+
readonly description: "The text to rewrite";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Text";
|
|
22
|
+
readonly description: "The text to rewrite";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly prompt: {
|
|
18
27
|
readonly type: "string";
|
|
@@ -84,10 +93,20 @@ export declare const TextRewriterOutputSchema: {
|
|
|
84
93
|
readonly type: "object";
|
|
85
94
|
readonly properties: {
|
|
86
95
|
readonly text: {
|
|
87
|
-
readonly
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
96
|
+
readonly anyOf: readonly [{
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
readonly title: "Text";
|
|
99
|
+
readonly description: "The rewritten text";
|
|
100
|
+
readonly "x-stream": "append";
|
|
101
|
+
}, {
|
|
102
|
+
readonly type: "array";
|
|
103
|
+
readonly items: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
readonly title: "Text";
|
|
106
|
+
readonly description: "The rewritten text";
|
|
107
|
+
readonly "x-stream": "append";
|
|
108
|
+
};
|
|
109
|
+
}];
|
|
91
110
|
};
|
|
92
111
|
};
|
|
93
112
|
readonly required: readonly ["text"];
|
|
@@ -113,7 +132,7 @@ export declare class TextRewriterTask extends StreamingAiTask<TextRewriterTaskIn
|
|
|
113
132
|
* @returns Promise resolving to the rewritten text output(s)
|
|
114
133
|
*/
|
|
115
134
|
export declare const textRewriter: (input: TextRewriterTaskInput, config?: JobQueueTaskConfig) => Promise<{
|
|
116
|
-
text: string;
|
|
135
|
+
text: string | string[];
|
|
117
136
|
}>;
|
|
118
137
|
declare module "@workglow/task-graph" {
|
|
119
138
|
interface Workflow {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextRewriterTask.d.ts","sourceRoot":"","sources":["../../src/task/TextRewriterTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"TextRewriterTask.d.ts","sourceRoot":"","sources":["../../src/task/TextRewriterTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBD,CAAC;AAEpC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;CAYF,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEjF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,eAAe,CACnD,qBAAqB,EACrB,sBAAsB,CACvB;IACC,OAAc,IAAI,SAAsB;IACxC,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAAmB;IACtC,OAAc,WAAW,SAAqE;WAChF,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,qBAAqB,EAAE,SAAS,kBAAkB;;EAErF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,YAAY,EAAE,cAAc,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;KACjG;CACF"}
|
|
@@ -10,9 +10,18 @@ export declare const TextSummaryInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly text: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Text";
|
|
16
|
+
readonly description: "The text to summarize";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Text";
|
|
22
|
+
readonly description: "The text to summarize";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly model: {
|
|
18
27
|
readonly oneOf: readonly [{
|
|
@@ -79,10 +88,20 @@ export declare const TextSummaryOutputSchema: {
|
|
|
79
88
|
readonly type: "object";
|
|
80
89
|
readonly properties: {
|
|
81
90
|
readonly text: {
|
|
82
|
-
readonly
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
91
|
+
readonly anyOf: readonly [{
|
|
92
|
+
readonly type: "string";
|
|
93
|
+
readonly title: "Text";
|
|
94
|
+
readonly description: "The summarized text";
|
|
95
|
+
readonly "x-stream": "append";
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "array";
|
|
98
|
+
readonly items: {
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
readonly title: "Text";
|
|
101
|
+
readonly description: "The summarized text";
|
|
102
|
+
readonly "x-stream": "append";
|
|
103
|
+
};
|
|
104
|
+
}];
|
|
86
105
|
};
|
|
87
106
|
};
|
|
88
107
|
readonly required: readonly ["text"];
|
|
@@ -108,7 +127,7 @@ export declare class TextSummaryTask extends StreamingAiTask<TextSummaryTaskInpu
|
|
|
108
127
|
* @returns Promise resolving to the summarized text output(s)
|
|
109
128
|
*/
|
|
110
129
|
export declare const textSummary: (input: TextSummaryTaskInput, config?: JobQueueTaskConfig) => Promise<{
|
|
111
|
-
text: string;
|
|
130
|
+
text: string | string[];
|
|
112
131
|
}>;
|
|
113
132
|
declare module "@workglow/task-graph" {
|
|
114
133
|
interface Workflow {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSummaryTask.d.ts","sourceRoot":"","sources":["../../src/task/TextSummaryTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"TextSummaryTask.d.ts","sourceRoot":"","sources":["../../src/task/TextSummaryTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYA,CAAC;AAEpC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;CAYD,CAAC;AAEpC,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E;;GAEG;AAEH,qBAAa,eAAgB,SAAQ,eAAe,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;IAC/F,OAAc,IAAI,SAAqB;IACvC,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAAkB;IACrC,OAAc,WAAW,SACgD;WAC3D,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAU,OAAO,oBAAoB,EAAE,SAAS,kBAAkB;;EAEzF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;KAC9F;CACF"}
|
|
@@ -10,9 +10,18 @@ export declare const TextTranslationInputSchema: {
|
|
|
10
10
|
readonly type: "object";
|
|
11
11
|
readonly properties: {
|
|
12
12
|
readonly text: {
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
readonly anyOf: readonly [{
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly title: "Text";
|
|
16
|
+
readonly description: "The text to translate";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly title: "Text";
|
|
22
|
+
readonly description: "The text to translate";
|
|
23
|
+
};
|
|
24
|
+
}];
|
|
16
25
|
};
|
|
17
26
|
readonly source_lang: {
|
|
18
27
|
readonly type: "string";
|
|
@@ -93,10 +102,20 @@ export declare const TextTranslationOutputSchema: {
|
|
|
93
102
|
readonly type: "object";
|
|
94
103
|
readonly properties: {
|
|
95
104
|
readonly text: {
|
|
96
|
-
readonly
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
105
|
+
readonly anyOf: readonly [{
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
readonly title: "Text";
|
|
108
|
+
readonly description: "The translated text";
|
|
109
|
+
readonly "x-stream": "replace";
|
|
110
|
+
}, {
|
|
111
|
+
readonly type: "array";
|
|
112
|
+
readonly items: {
|
|
113
|
+
readonly type: "string";
|
|
114
|
+
readonly title: "Text";
|
|
115
|
+
readonly description: "The translated text";
|
|
116
|
+
readonly "x-stream": "replace";
|
|
117
|
+
};
|
|
118
|
+
}];
|
|
100
119
|
};
|
|
101
120
|
readonly target_lang: {
|
|
102
121
|
readonly type: "string";
|
|
@@ -129,7 +148,7 @@ export declare class TextTranslationTask extends StreamingAiTask<TextTranslation
|
|
|
129
148
|
* @returns Promise resolving to the translated text output(s)
|
|
130
149
|
*/
|
|
131
150
|
export declare const textTranslation: (input: TextTranslationTaskInput, config?: JobQueueTaskConfig) => Promise<{
|
|
132
|
-
text: string;
|
|
151
|
+
text: string | string[];
|
|
133
152
|
target_lang: string;
|
|
134
153
|
}>;
|
|
135
154
|
declare module "@workglow/task-graph" {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextTranslationTask.d.ts","sourceRoot":"","sources":["../../src/task/TextTranslationTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAWzD,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"TextTranslationTask.d.ts","sourceRoot":"","sources":["../../src/task/TextTranslationTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAWzD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBJ,CAAC;AAEpC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaL,CAAC;AAEpC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACrF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEvF;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,eAAe,CACtD,wBAAwB,EACxB,yBAAyB,CAC1B;IACC,OAAc,IAAI,SAAyB;IAC3C,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAAsB;IACzC,OAAc,WAAW,SAAwE;WACnF,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,wBAAwB,EAAE,SAAS,kBAAkB;;;EAE3F,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,eAAe,EAAE,cAAc,CAC7B,wBAAwB,EACxB,yBAAyB,EACzB,kBAAkB,CACnB,CAAC;KACH;CACF"}
|
|
@@ -120,9 +120,18 @@ export declare const ToolCallingInputSchema: {
|
|
|
120
120
|
readonly format: import(".").TypeModelSemantic;
|
|
121
121
|
};
|
|
122
122
|
readonly prompt: {
|
|
123
|
-
readonly
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
readonly anyOf: readonly [{
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
readonly title: "Prompt";
|
|
126
|
+
readonly description: "The prompt to send to the model";
|
|
127
|
+
}, {
|
|
128
|
+
readonly type: "array";
|
|
129
|
+
readonly items: {
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
readonly title: "Prompt";
|
|
132
|
+
readonly description: "The prompt to send to the model";
|
|
133
|
+
};
|
|
134
|
+
}];
|
|
126
135
|
};
|
|
127
136
|
readonly systemPrompt: {
|
|
128
137
|
readonly type: "string";
|
|
@@ -192,17 +201,38 @@ export declare const ToolCallingOutputSchema: {
|
|
|
192
201
|
readonly type: "object";
|
|
193
202
|
readonly properties: {
|
|
194
203
|
readonly text: {
|
|
195
|
-
readonly
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
204
|
+
readonly anyOf: readonly [{
|
|
205
|
+
readonly type: "string";
|
|
206
|
+
readonly title: "Text";
|
|
207
|
+
readonly description: "Any text content generated by the model";
|
|
208
|
+
readonly "x-stream": "append";
|
|
209
|
+
}, {
|
|
210
|
+
readonly type: "array";
|
|
211
|
+
readonly items: {
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly title: "Text";
|
|
214
|
+
readonly description: "Any text content generated by the model";
|
|
215
|
+
readonly "x-stream": "append";
|
|
216
|
+
};
|
|
217
|
+
}];
|
|
199
218
|
};
|
|
200
219
|
readonly toolCalls: {
|
|
201
|
-
readonly
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
220
|
+
readonly anyOf: readonly [{
|
|
221
|
+
readonly type: "object";
|
|
222
|
+
readonly title: "Tool Calls";
|
|
223
|
+
readonly description: "Tool invocations requested by the model, keyed by call id";
|
|
224
|
+
readonly additionalProperties: true;
|
|
225
|
+
readonly "x-stream": "object";
|
|
226
|
+
}, {
|
|
227
|
+
readonly type: "array";
|
|
228
|
+
readonly items: {
|
|
229
|
+
readonly type: "object";
|
|
230
|
+
readonly title: "Tool Calls";
|
|
231
|
+
readonly description: "Tool invocations requested by the model, keyed by call id";
|
|
232
|
+
readonly additionalProperties: true;
|
|
233
|
+
readonly "x-stream": "object";
|
|
234
|
+
};
|
|
235
|
+
}];
|
|
206
236
|
};
|
|
207
237
|
};
|
|
208
238
|
readonly required: readonly ["text", "toolCalls"];
|
|
@@ -222,9 +252,11 @@ export declare class ToolCallingTask extends StreamingAiTask<ToolCallingTaskInpu
|
|
|
222
252
|
* Convenience function to run a tool calling task.
|
|
223
253
|
*/
|
|
224
254
|
export declare const toolCalling: (input: ToolCallingTaskInput, config?: JobQueueTaskConfig) => Promise<{
|
|
225
|
-
text: string;
|
|
255
|
+
text: string | string[];
|
|
226
256
|
toolCalls: {
|
|
227
257
|
[x: string]: unknown;
|
|
258
|
+
}[] | {
|
|
259
|
+
[x: string]: unknown;
|
|
228
260
|
};
|
|
229
261
|
}>;
|
|
230
262
|
declare module "@workglow/task-graph" {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCallingTask.d.ts","sourceRoot":"","sources":["../../src/task/ToolCallingTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAA0B,MAAM,sBAAsB,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,UAAU,EAAa,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEnF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAMzD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC;IACjC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,W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,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM/E,qBAAa,eAAgB,SAAQ,eAAe,CAClD,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,CACnB;IACC,OAAc,IAAI,SAAqB;IACvC,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAAkB;IACrC,OAAc,WAAW,SACkG;WAC7G,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,oBAAoB,EAAE,SAAS,kBAAkB;;;;;;;EAEnF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;KAC9F;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiTask.d.ts","sourceRoot":"","sources":["../../../src/task/base/AiTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AAEH,OAAO,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"AiTask.d.ts","sourceRoot":"","sources":["../../../src/task/base/AiTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,KAAK,uBAAuB,EAC5B,YAAY,EACZ,kBAAkB,EAElB,SAAS,EACT,KAAK,UAAU,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEvE,OAAO,EAAS,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AA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