wenxin character model supports prompt

This commit is contained in:
Alex Yang
2024-08-16 14:58:17 +08:00
parent 7e724b3fa3
commit 9b125913ae
2 changed files with 7 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ available_setting = {
"baidu_wenxin_model": "eb-instant", # 默认使用ERNIE-Bot-turbo模型
"baidu_wenxin_api_key": "", # Baidu api key
"baidu_wenxin_secret_key": "", # Baidu secret key
"baidu_wenxin_prompt_enabled": False, # Enable prompt if you are using ernie character model
# 讯飞星火API
"xunfei_app_id": "", # 讯飞应用ID
"xunfei_api_key": "", # 讯飞 API key