From f07fdbedb5f46455f8574b235415d000bb6ad6a6 Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Wed, 17 Jan 2024 01:24:07 +0800 Subject: [PATCH] docs: improve Azure OpenAI readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5af369c..7455b2f 100644 --- a/README.md +++ b/README.md @@ -260,11 +260,14 @@ then use `-p` flag to switch prompt: chatgpt -p translator ``` -> **Note** +> [!NOTE] > The prompt can be a predefined prompt, or come up with one on the fly. > e.g. `chatgpt -p translator` or `chatgpt -p "You are a cat. You can only meow. That's it."` -### Azure OpenAI service support + + + +## Azure OpenAI service support If you are using Azure OpenAI service, you should configure like this: @@ -281,8 +284,6 @@ If you are using Azure OpenAI service, you should configure like this: } ``` - - Notes: - `api_type` should be "AZURE" or "AZURE_AD".