From e4ae92becace57f6c81f772010d297dbbd9f0489 Mon Sep 17 00:00:00 2001 From: fy Date: Mon, 11 Dec 2023 16:06:17 +0800 Subject: [PATCH] update the instruction for Azure --- README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 636e63fc..c122f84c 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.