@fugood/bricks-project 2.22.4 → 2.22.5
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.
|
@@ -573,7 +573,6 @@ export const templateActionNameMap = {
|
|
|
573
573
|
prompt: 'GENERATOR_ONNX_LLM_PROMPT',
|
|
574
574
|
chat: 'GENERATOR_ONNX_LLM_CHAT',
|
|
575
575
|
images: 'GENERATOR_ONNX_LLM_IMAGES',
|
|
576
|
-
audios: 'GENERATOR_ONNX_LLM_AUDIOS',
|
|
577
576
|
tools: 'GENERATOR_ONNX_LLM_TOOLS',
|
|
578
577
|
toolChoice: 'GENERATOR_ONNX_LLM_TOOL_CHOICE',
|
|
579
578
|
},
|
package/package.json
CHANGED
|
@@ -44,8 +44,8 @@ Default property:
|
|
|
44
44
|
resizeMode?: 'contain' | 'cover' | 'stretch' | 'center' | 'repeat' | DataLink
|
|
45
45
|
/* The API key for the generative media service */
|
|
46
46
|
apiKey?: string | DataLink
|
|
47
|
-
/* The AI provider to use for generation (openai, freepik, or
|
|
48
|
-
provider?: 'openai' | 'freepik-classic' | 'deepai' | DataLink
|
|
47
|
+
/* The AI provider to use for generation (openai, freepik-classic, deepai, or gemini) */
|
|
48
|
+
provider?: 'openai' | 'freepik-classic' | 'deepai' | 'gemini' | DataLink
|
|
49
49
|
/* OpenAI image size (256x256, 512x512, 1024x1024, etc) */
|
|
50
50
|
openaiSize?: '1024x1024' | '1024x1792' | '1792x1024' | DataLink
|
|
51
51
|
/* OpenAI image style (vivid or natural) */
|
|
@@ -158,6 +158,8 @@ Default property:
|
|
|
158
158
|
deepaiWidth?: number | DataLink
|
|
159
159
|
/* DeepAI output image height */
|
|
160
160
|
deepaiHeight?: number | DataLink
|
|
161
|
+
/* Gemini aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3) */
|
|
162
|
+
geminiAspectRatio?: '1:1' | '16:9' | '9:16' | '3:2' | '2:3' | DataLink
|
|
161
163
|
}
|
|
162
164
|
events?: BrickBasicEvents & {
|
|
163
165
|
/* Event of the brick press */
|
package/types/data-calc.ts
CHANGED
|
@@ -5058,6 +5058,7 @@ export type DataCommandSandboxGetReturnValue = DataCommand & {
|
|
|
5058
5058
|
- coseVerify (cose.sign.verifySync from https://github.com/erdtman/COSE-JS)
|
|
5059
5059
|
- fflate (Not support async, callback and stream)
|
|
5060
5060
|
- iconv (Use iconv-lite)
|
|
5061
|
+
- OpenCC (Use opencc-js)
|
|
5061
5062
|
|
|
5062
5063
|
Android: Running on the sandbox of Hermes engine
|
|
5063
5064
|
|
|
@@ -33,11 +33,6 @@ 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
|
-
}
|
|
41
36
|
| {
|
|
42
37
|
input: 'tools'
|
|
43
38
|
value?: Array<any> | DataLink | EventProperty
|
|
@@ -104,8 +99,6 @@ Default property:
|
|
|
104
99
|
messages?: Array<DataLink | {}> | DataLink
|
|
105
100
|
/* Images with message to inference */
|
|
106
101
|
images?: Array<string | DataLink> | DataLink
|
|
107
|
-
/* Audios with message to inference */
|
|
108
|
-
audios?: Array<string | DataLink> | DataLink
|
|
109
102
|
/* Tool call parser */
|
|
110
103
|
toolCallParser?: 'llama3_json' | 'mistral' | 'hermes' | 'internlm' | 'phi4' | DataLink
|
|
111
104
|
/* Tools for chat mode using OpenAI-compatible function calling format
|