From 15404f639d540ab0685e17ee9ede7912d51c0826 Mon Sep 17 00:00:00 2001 From: Fangyuan Date: Fri, 15 Dec 2023 11:53:57 +0800 Subject: [PATCH] README: Update instructions for Azure (#147) --- README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 636e63f..c122f84 100644 --- a/README.org +++ b/README.org @@ -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.