feat: Support Coze

This commit is contained in:
Martial BE
2024-04-20 12:07:37 +08:00
parent 7511d614cf
commit 4fc987f4a0
7 changed files with 356 additions and 0 deletions

View File

@@ -160,6 +160,13 @@ export const CHANNEL_OPTIONS = {
color: 'default',
url: ''
},
38: {
key: 38,
text: 'Coze',
value: 38,
color: 'primary',
url: ''
},
24: {
key: 24,
text: 'Azure Speech',

View File

@@ -300,6 +300,17 @@ const typeConfig = {
test_model: ''
},
modelGroup: 'Stability AI'
},
38: {
input: {
models: ['coze-*']
},
prompt: {
models: '模型名称为coze-{bot_id},你也可以直接使用 coze-* 通配符来匹配所有coze开头的模型',
model_mapping:
'模型名称映射, 你可以取一个容易记忆的名字来代替coze-{bot_id},例如:{"coze-translate": "coze-xxxxx"},注意如果使用了模型映射那么上面的模型名称必须使用映射前的名称上述例子中你应该在模型中填入coze-translate(如果已经使用了coze-*,可以忽略)。'
},
modelGroup: 'Coze'
}
};