@fugood/bricks-project 2.23.0-beta.6 → 2.23.0-beta.7

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.6",
3
+ "version": "2.23.0-beta.7",
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": "98664299bda5a920ff1096e2e62c68fd7c85a573"
17
+ "gitHead": "7c3be998ca35559d375190e3fd29e9aea9eb4293"
18
18
  }
@@ -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