Skip to content

Commit 6820be7

Browse files
committed
Simplify READMEE
1 parent e2853c9 commit 6820be7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ To use the [Azure OpenAI Service](https://learn.microsoft.com/en-us/azure/cognit
9898
```ruby
9999
OpenAI.configure do |config|
100100
config.access_token = ENV.fetch("AZURE_OPENAI_API_KEY")
101-
config.uri_base = "#{ENV.fetch("AZURE_OPENAI_URI")}/openai/deployments/gpt-35-turbo"
101+
config.uri_base = ENV.fetch("AZURE_OPENAI_URI")
102102
config.api_type = :azure
103103
config.api_version = "2023-03-15-preview"
104104
end
105105
```
106106

107-
where `AZURE_OPENAI_URI` is e.g. `https://custom-domain.openai.azure.com/`
107+
where `AZURE_OPENAI_URI` is e.g. `https://custom-domain.openai.azure.com/openai/deployments/gpt-35-turbo`
108108

109109
### Models
110110

0 commit comments

Comments
 (0)