We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2853c9 commit 6820be7Copy full SHA for 6820be7
README.md
@@ -98,13 +98,13 @@ To use the [Azure OpenAI Service](https://learn.microsoft.com/en-us/azure/cognit
98
```ruby
99
OpenAI.configure do |config|
100
config.access_token = ENV.fetch("AZURE_OPENAI_API_KEY")
101
- config.uri_base = "#{ENV.fetch("AZURE_OPENAI_URI")}/openai/deployments/gpt-35-turbo"
+ config.uri_base = ENV.fetch("AZURE_OPENAI_URI")
102
config.api_type = :azure
103
config.api_version = "2023-03-15-preview"
104
end
105
```
106
107
-where `AZURE_OPENAI_URI` is e.g. `https://custom-domain.openai.azure.com/`
+where `AZURE_OPENAI_URI` is e.g. `https://custom-domain.openai.azure.com/openai/deployments/gpt-35-turbo`
108
109
### Models
110
0 commit comments