File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ OPENAI_API_KEY=XXXX
2
+ OPENAI_API_TYPE=azure
3
+ OPENAI_BASE_URL=https://your-resource-name.openai.azure.com
4
+ OPENAI_API_VERSION=2023-03-15-preview
5
+ AZURE_OPENAI_DEPLOYMENT=your-model-deployment-name
6
+ API_PORT=5010
7
+ WEB_PORT=8080
8
+ SNAKEMQ_PORT=8765
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ Set `OPENAI_BASE_URL` to change the OpenAI API endpoint that's being used (note
37
37
38
38
You can use the ` .env.example ` in the repository (make sure you ` git clone ` the repo to get the file first).
39
39
40
+ For Azure OpenAI Services, there are also other configurable variables like deployment name. See ` .env.azure-example ` for more information.
41
+ Note that model selection on the UI is currently not supported for Azure OpenAI Services.
42
+
40
43
```
41
44
cp .env.example .env
42
45
vim .env
You can’t perform that action at this time.
0 commit comments