更新接入azure的说明

This commit is contained in:
505030475
2023-06-21 11:38:59 +10:00
committed by w_xiaolizu
parent b48eff42c9
commit de175d04b9
3 changed files with 159 additions and 4 deletions

View File

@ -2,6 +2,7 @@
API_KEY = "sk-此处填API密钥" # 可同时填写多个API-KEY用英文逗号分割例如API_KEY = "sk-openaikey1,sk-openaikey2,fkxxxx-api2dkey1,fkxxxx-api2dkey2"
prompt_list = {'key': ['所有人', '个人'], 'value': []}
switch_model = {'key': ['input加密', '隐私模式'], 'value': ['input加密']}
@ -19,6 +20,7 @@ AZURE_API_VERSION = "填入api版本"
AZURE_ENGINE = "填入ENGINE"
# [step 2]>> 改为True应用代理如果直接在海外服务器部署此处不修改
USE_PROXY = False
@ -110,3 +112,10 @@ your bing cookies here
# 如果需要使用Slack Claude使用教程详情见 request_llm/README.md
SLACK_CLAUDE_BOT_ID = ''
SLACK_CLAUDE_USER_TOKEN = ''
# 如果需要使用AZURE 详情请见额外文档 docs\use_azure.md
AZURE_ENDPOINT = "https://你的api名称.openai.azure.com/"
AZURE_API_KEY = "填入azure openai api的密钥"
AZURE_API_VERSION = "填入api版本"
AZURE_ENGINE = "填入ENGINE"