按照要求修改

This commit is contained in:
zhouzinimg 2023-10-16 22:53:28 +08:00
parent e2af76fb08
commit f3c7da32a0
41 changed files with 342 additions and 944 deletions

View file

@ -15,18 +15,18 @@ RPM: 10
#### if Anthropic
#Anthropic_API_KEY: "YOUR_API_KEY"
#### if xinghuo
#xinghuo_appid : "APPID"
#xinghuo_api_secret : "APISecret"
#xinghuo_api_key : "APIKey"
#### if Xinghuo
#XINGHUO_APPID : "YOUR_APPID"
#XINGHUO_API_SECRET : "YOUR_APISecret"
#XINGHUO_API_KEY : "YOUR_APIKey"
#DOMAIN : "generalv2"
#SPARK_URL : "ws://spark-api.xf-yun.com/v2.1/chat"
#domain : "generalv2"
#Spark_url : "ws://spark-api.xf-yun.com/v2.1/chat"
#### 如果不能使用api
#no_api_mode :"true"
XINGHUO_APPID : "ae5e30f4"
XINGHUO_API_SECRET : "MDhlOWE2NmFhOWMxZWRkOTdlYjY2Njk1"
XINGHUO_API_KEY : "97b635fe5927d34a857333e11d15f29f"
DOMAIN : "generalv2"
SPARK_URL : "ws://spark-api.xf-yun.com/v2.1/chat"
#### if AZURE, check https://github.com/openai/openai-cookbook/blob/main/examples/azure/chat.ipynb
#### You can use ENGINE or DEPLOYMENT mode