Skip to content

Commit 496d524

Browse files
committed
🐛 fix(README.md): update configuration variable names for Azure OpenAI service
The configuration variable names for the Azure OpenAI service were updated to use the prefix 'OCO_' instead of 'OPENAI_' to avoid conflicts with other OpenAI services. The variables that need to be set are 'OCO_OPENAI_API_KEY' and 'OCO_OPENAI_BASE_PATH' for the endpoint, and the deployment name should be set to 'model'. 🐛 修正(README.md): Azure OpenAIサービスの設定変数名を更新しました Azure OpenAIサービスの設定変数名を、他のOpenAIサービスとの競合を避けるためにプレフィックス'OCO_'を使用するように更新しました。設定する必要がある変数は、エンドポイントの'OCO_OPENAI_API_KEY'と'OCO_OPENAI_BASE_PATH'、そしてデプロイメント名は'model'に設定する必要があります。
1 parent b0d47a2 commit 496d524

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -155,25 +155,11 @@ By default OpenCommit uses [OpenAI](https://openai.com).
155155
You could switch to [Azure OpenAI Service](https://learn.microsoft.com/azure/cognitive-services/openai/)🚀
156156

157157
```sh
158-
opencommit config set OPENAI_API_TYPE=azure
158+
opencommit config set OCO_OPENAI_API_TYPE=azure
159159
```
160160

161-
Of course need to set 'OPENAI_API_KEY'. And also need to set the
162-
'OPENAI_BASE_PATH' for the endpoint and set the deployment name to
163-
'model'.
164-
165-
### Switch to Azure OpenAI
166-
167-
By default OpenCommit uses [OpenAI](https://openai.com).
168-
169-
You could switch to [Azure OpenAI Service](https://learn.microsoft.com/azure/cognitive-services/openai/)🚀
170-
171-
```sh
172-
opencommit config set OPENAI_API_TYPE=azure
173-
```
174-
175-
Of course need to set 'OPENAI_API_KEY'. And also need to set the
176-
'OPENAI_BASE_PATH' for the endpoint and set the deployment name to
161+
Of course need to set 'OCO_OPENAI_API_KEY'. And also need to set the
162+
'OCO_OPENAI_BASE_PATH' for the endpoint and set the deployment name to
177163
'model'.
178164

179165
### Switch to GPT-4

0 commit comments

Comments
 (0)