智能相关 S3和C2修改
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user