Update .env.example

This commit is contained in:
zhongjun_ge 2024-06-07 11:55:57 +08:00 committed by GitHub
parent 7907f2642c
commit 145c5aa5df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,11 +4,11 @@ OPENAI_API_KEY=sk-xxxxxxxxxxxxxxx
OPENAI_BASE_URL=https://api.openai.com/v1
# Azure OpenAI
OPENAI_API_VERSION=xxxx-xx-xx
# OPENAI_API_VERSION=xxxx-xx-xx
# 这里要进入Azure OpenAI Studio的聊天操场在那儿选择你想用的部署模型再点示例代码看里面的api_version字段而不是部署页面显示的模型版本
deployment=你的部署名
AZURE_OPENAI_ENDPOINT=https://你的资源名.openai.azure.com
AZURE_OPENAI_API_KEY=你的密钥
# AZURE_OPENAI_ENDPOINT=https://你的资源名.openai.azure.com
# AZURE_OPENAI_API_KEY=你的密钥
# 提示音效(可选,一般不用填,你也可以换上自己的提示音链接试试看效果)
# AUDIO_SILENT=静音音频链接示例https://example.com/slient.wav