|
@@ -20,6 +20,39 @@ VALUES (4022, '阿里ASR配置(新)', 'aliAsrBridgeConf', 3018, 7, '/cc/fsconf/a
|
|
|
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`)
|
|
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`)
|
|
|
VALUES (2, 4022);
|
|
VALUES (2, 4022);
|
|
|
|
|
|
|
|
|
|
+DELETE FROM `fs_variables`
|
|
|
|
|
+WHERE `var_field_name` IN (
|
|
|
|
|
+ 'api-key',
|
|
|
|
|
+ 'workspace-id',
|
|
|
|
|
+ 'websocket-url',
|
|
|
|
|
+ 'model',
|
|
|
|
|
+ 'sample-rate',
|
|
|
|
|
+ 'send-chunk-ms',
|
|
|
|
|
+ 'semantic-punctuation-enabled',
|
|
|
|
|
+ 'max-sentence-silence',
|
|
|
|
|
+ 'multi-threshold-mode-enabled',
|
|
|
|
|
+ 'punctuation-prediction-enabled',
|
|
|
|
|
+ 'inverse-text-normalization-enabled',
|
|
|
|
|
+ 'heartbeat',
|
|
|
|
|
+ 'verify-peer'
|
|
|
|
|
+)
|
|
|
|
|
+AND `cat` = 5;
|
|
|
|
|
+
|
|
|
|
|
+INSERT INTO `fs_variables` (`id`, `cat`, `var_field_name`, `var_field_alias`) VALUES
|
|
|
|
|
+(37, 5, 'api-key', '阿里 ASR API Key'),
|
|
|
|
|
+(38, 5, 'workspace-id', '工作空间 ID'),
|
|
|
|
|
+(39, 5, 'websocket-url', 'WebSocket 地址'),
|
|
|
|
|
+(40, 5, 'model', '识别模型'),
|
|
|
|
|
+(41, 5, 'sample-rate', '音频采样率'),
|
|
|
|
|
+(42, 5, 'send-chunk-ms', '音频发送分片时长(毫秒)'),
|
|
|
|
|
+(43, 5, 'semantic-punctuation-enabled', '启用语义标点'),
|
|
|
|
|
+(44, 5, 'max-sentence-silence', '句尾静音时长(毫秒)'),
|
|
|
|
|
+(45, 5, 'multi-threshold-mode-enabled', '启用多阈值模式'),
|
|
|
|
|
+(46, 5, 'punctuation-prediction-enabled', '启用标点预测'),
|
|
|
|
|
+(47, 5, 'inverse-text-normalization-enabled', '启用逆文本归一化'),
|
|
|
|
|
+(48, 5, 'heartbeat', '启用心跳'),
|
|
|
|
|
+(49, 5, 'verify-peer', '校验证书');
|
|
|
|
|
+
|
|
|
DELETE FROM `cc_asr_languages`
|
|
DELETE FROM `cc_asr_languages`
|
|
|
WHERE `asr_provider` = 'ali'
|
|
WHERE `asr_provider` = 'ali'
|
|
|
AND `models` = 'fun-asr-flash-8k-realtime'
|
|
AND `models` = 'fun-asr-flash-8k-realtime'
|