mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 17:43:55 +08:00
数据集回滚
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
-- 添加百度ASR模型配置
|
-- 添加百度ASR模型配置
|
||||||
delete from `ai_model_config` where `id` = 'ASR_BaiduASR';
|
delete from `ai_model_config` where `id` = 'ASR_BaiduASR';
|
||||||
INSERT INTO `ai_model_config` VALUES ('ASR_BaiduASR', 'ASR', 'BaiduASR', '百度语音识别', 0, 1, '{\"type\": \"baidu\", \"app_id\": \"\", \"api_key\": \"\", \"secret_key\": \"\", \"dev_pid\": 1537, \"output_dir\": \"tmp/\"}', NULL, NULL, 8, NULL, NULL, NULL, NULL);
|
INSERT INTO `ai_model_config` VALUES ('ASR_BaiduASR', 'ASR', 'BaiduASR', '百度语音识别', 0, 1, '{\"type\": \"baidu\", \"app_id\": \"\", \"api_key\": \"\", \"secret_key\": \"\", \"dev_pid\": 1537, \"output_dir\": \"tmp/\"}', NULL, NULL, 7, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
-- 添加百度ASR供应器
|
-- 添加百度ASR供应器
|
||||||
@@ -5,7 +5,7 @@ INSERT INTO `ai_model_provider` (`id`, `model_type`, `provider_code`, `name`, `f
|
|||||||
|
|
||||||
-- 添加阿里云流式ASR模型配置
|
-- 添加阿里云流式ASR模型配置
|
||||||
delete from `ai_model_config` where id = 'ASR_AliyunStreamASR';
|
delete from `ai_model_config` where id = 'ASR_AliyunStreamASR';
|
||||||
INSERT INTO `ai_model_config` VALUES ('ASR_AliyunStreamASR', 'ASR', 'AliyunStreamASR', '阿里云语音识别(流式)', 0, 1, '{\"type\": \"aliyun_stream\", \"appkey\": \"\", \"token\": \"\", \"access_key_id\": \"\", \"access_key_secret\": \"\", \"host\": \"nls-gateway-cn-shanghai.aliyuncs.com\", \"max_sentence_silence\": 800, \"output_dir\": \"tmp/\"}', NULL, NULL, 7, NULL, NULL, NULL, NULL);
|
INSERT INTO `ai_model_config` VALUES ('ASR_AliyunStreamASR', 'ASR', 'AliyunStreamASR', '阿里云语音识别(流式)', 0, 1, '{\"type\": \"aliyun_stream\", \"appkey\": \"\", \"token\": \"\", \"access_key_id\": \"\", \"access_key_secret\": \"\", \"host\": \"nls-gateway-cn-shanghai.aliyuncs.com\", \"max_sentence_silence\": 800, \"output_dir\": \"tmp/\"}', NULL, NULL, 8, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
-- 更新阿里云流式ASR配置说明
|
-- 更新阿里云流式ASR配置说明
|
||||||
UPDATE `ai_model_config` SET
|
UPDATE `ai_model_config` SET
|
||||||
|
|||||||
@@ -101,12 +101,12 @@ databaseChangeLog:
|
|||||||
encoding: utf8
|
encoding: utf8
|
||||||
path: classpath:db/changelog/202505022134.sql
|
path: classpath:db/changelog/202505022134.sql
|
||||||
- changeSet:
|
- changeSet:
|
||||||
id: 202505081147
|
id: 202505081146
|
||||||
author: hrz
|
author: hrz
|
||||||
changes:
|
changes:
|
||||||
- sqlFile:
|
- sqlFile:
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
path: classpath:db/changelog/202505081147.sql
|
path: classpath:db/changelog/202505081146.sql
|
||||||
- changeSet:
|
- changeSet:
|
||||||
id: 202505091555
|
id: 202505091555
|
||||||
author: whosmyqueen
|
author: whosmyqueen
|
||||||
|
|||||||
Reference in New Issue
Block a user