From 96bccb315685bb3764d55f6e68750611f2338300 Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Mon, 4 Mar 2024 14:28:32 +0200 Subject: [PATCH] Doc update --- Usage.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Usage.md b/Usage.md index 60acd1e5e..59df6facf 100644 --- a/Usage.md +++ b/Usage.md @@ -374,11 +374,12 @@ For models and environments not from OPENAI, you might need to provide additiona ##### Azure To use Azure, set in your `.secrets.toml` (working from CLI), or in the GitHub `Settings > Secrets and variables` (working from GitHub App or GitHub Action): ``` -api_key = "" # your azure api key +[openai] +key = "" # your azure api key api_type = "azure" api_version = '2023-05-15' # Check Azure documentation for the current API version api_base = "" # The base URL for your Azure OpenAI resource. e.g. "https://.openai.azure.com" -openai.deployment_id = "" # The deployment name you chose when you deployed the engine +deployment_id = "" # The deployment name you chose when you deployed the engine ``` and set in your configuration file: