智能相关 S3和C2修改

This commit is contained in:
Irene-Maxine
2025-11-01 17:09:11 +08:00
parent 3572a8e0b2
commit 969793d779
8 changed files with 96 additions and 21 deletions

View File

@@ -24,8 +24,6 @@ export const init_xunfei_vi = {
}
};
export const init_xunfei_Spark_Ultra = {
init: function () {
this.setColour(AI_CLOUD_VOICE_HUE);
@@ -64,6 +62,31 @@ export const init_xunfei_Spark_Ultra = {
}
};
export const init_xunfei_Chinese_Model = {
init: function () {
this.setColour(AI_CLOUD_VOICE_HUE);
this.appendValueInput('VAR')
.appendField(Blockly.Msg.MIXLY_MICROPYTHON_SOCKET_MAKE);
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_SETUP + Blockly.Msg.MIXLY_AS + Blockly.Msg.MIXLY_XUFEI+Blockly.Msg.MIXLY_CHINESE_RECOGNIZION+Blockly.Msg.MIXLY_LARGE_LANGUAGE_MODEL );
this.appendValueInput('APPID')
.setCheck(String)
.appendField('APPID');
this.appendValueInput('APISecret')
.setCheck(String)
.appendField('APISecret');
this.appendValueInput('APIKey')
.setCheck(String)
.appendField('APIKey');
this.appendValueInput('HW')
.setCheck(String)
.appendField(Blockly.Msg.MIXLY_HOT_WORD + 'ID');
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
}
};
export const xunfei_vi_run = {
init: function () {
this.setColour(AI_CLOUD_VOICE_HUE);