README: Update instructions for Azure (#147)
This commit is contained in:
parent
5c3b26aeec
commit
15404f639d
1 changed files with 2 additions and 1 deletions
|
@ -133,8 +133,9 @@ Register a backend with
|
|||
"Azure-1" ;Name, whatever you'd like
|
||||
:protocol "https" ;optional -- https is the default
|
||||
:host "YOUR_RESOURCE_NAME.openai.azure.com"
|
||||
:endpoint "/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2023-05-15" ;or equivalent
|
||||
:endpoint "/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15" ;or equivalent
|
||||
:stream t ;Enable streaming responses
|
||||
:key #'gptel-api-key
|
||||
:models '("gpt-3.5-turbo" "gpt-4"))
|
||||
#+end_src
|
||||
Refer to the documentation of =gptel-make-azure= to set more parameters.
|
||||
|
|
Loading…
Add table
Reference in a new issue