@fugood/bricks-project 2.23.0-beta.6 → 2.23.0-beta.9
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.
|
@@ -553,6 +553,7 @@ export const templateActionNameMap = {
|
|
|
553
553
|
prompt: 'GENERATOR_ONNX_LLM_PROMPT',
|
|
554
554
|
chat: 'GENERATOR_ONNX_LLM_CHAT',
|
|
555
555
|
images: 'GENERATOR_ONNX_LLM_IMAGES',
|
|
556
|
+
audios: 'GENERATOR_ONNX_LLM_AUDIOS',
|
|
556
557
|
tools: 'GENERATOR_ONNX_LLM_TOOLS',
|
|
557
558
|
toolChoice: 'GENERATOR_ONNX_LLM_TOOL_CHOICE',
|
|
558
559
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.9",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "6e869e1530a63c8574e3f7250f84923a184dfbc8"
|
|
18
18
|
}
|
|
@@ -637,8 +637,8 @@ Default property:
|
|
|
637
637
|
buttressConnectionSettings?:
|
|
638
638
|
| DataLink
|
|
639
639
|
| {
|
|
640
|
+
enabled?: boolean | DataLink
|
|
640
641
|
url?: string | DataLink
|
|
641
|
-
trpcPath?: string | DataLink
|
|
642
642
|
fallbackType?: 'use-local' | 'no-op' | DataLink
|
|
643
643
|
strategy?: 'prefer-local' | 'prefer-buttress' | 'prefer-best' | DataLink
|
|
644
644
|
}
|
|
@@ -33,6 +33,11 @@ export type GeneratorOnnxLLMActionInfer = ActionWithParams & {
|
|
|
33
33
|
value?: Array<any> | DataLink | EventProperty
|
|
34
34
|
mapping?: string
|
|
35
35
|
}
|
|
36
|
+
| {
|
|
37
|
+
input: 'audios'
|
|
38
|
+
value?: Array<any> | DataLink | EventProperty
|
|
39
|
+
mapping?: string
|
|
40
|
+
}
|
|
36
41
|
| {
|
|
37
42
|
input: 'tools'
|
|
38
43
|
value?: Array<any> | DataLink | EventProperty
|
|
@@ -99,6 +104,8 @@ Default property:
|
|
|
99
104
|
messages?: Array<DataLink | {}> | DataLink
|
|
100
105
|
/* Images with message to inference */
|
|
101
106
|
images?: Array<string | DataLink> | DataLink
|
|
107
|
+
/* Audios with message to inference */
|
|
108
|
+
audios?: Array<string | DataLink> | DataLink
|
|
102
109
|
/* Tool call parser */
|
|
103
110
|
toolCallParser?: 'llama3_json' | 'mistral' | 'hermes' | 'internlm' | 'phi4' | DataLink
|
|
104
111
|
/* Tools for chat mode using OpenAI-compatible function calling format
|