Skip to content

Commit

Permalink
docs: improve Azure OpenAI readme
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Jan 16, 2024
1 parent 9882d94 commit f07fdbe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

</details>

## Azure OpenAI service support

If you are using Azure OpenAI service, you should configure like this:

Expand All @@ -281,8 +284,6 @@ If you are using Azure OpenAI service, you should configure like this:
}
```

</details>

Notes:

- `api_type` should be "AZURE" or "AZURE_AD".
Expand Down

0 comments on commit f07fdbe

Please sign in to comment.