From 9921f8cc3acaccb474692d02ccbf49ec736ec3fc Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Sat, 3 Jun 2023 16:25:08 -0700 Subject: [PATCH] Harrison/update azure nb (#5665) Co-authored-by: NEWTON MALLICK <38786893+N-E-W-T-O-N@users.noreply.github.com> --- .../models/llms/integrations/azure_openai_example.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/models/llms/integrations/azure_openai_example.ipynb b/docs/modules/models/llms/integrations/azure_openai_example.ipynb index 66a262ff..7ff43c93 100644 --- a/docs/modules/models/llms/integrations/azure_openai_example.ipynb +++ b/docs/modules/models/llms/integrations/azure_openai_example.ipynb @@ -17,8 +17,8 @@ "```bash\n", "# Set this to `azure`\n", "export OPENAI_API_TYPE=azure\n", - "# The API version you want to use: set this to `2022-12-01` for the released version.\n", - "export OPENAI_API_VERSION=2022-12-01\n", + "# The API version you want to use: set this to `2023-03-15-preview` for the released version.\n", + "export OPENAI_API_VERSION=2023-03-15-preview\n", "# The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource.\n", "export OPENAI_API_BASE=https://your-resource-name.openai.azure.com\n", "# The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource.\n", @@ -70,7 +70,7 @@ "source": [ "import os\n", "os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n", - "os.environ[\"OPENAI_API_VERSION\"] = \"2022-12-01\"\n", + "os.environ[\"OPENAI_API_VERSION\"] = \"2023-03-15-preview\"\n", "os.environ[\"OPENAI_API_BASE\"] = \"...\"\n", "os.environ[\"OPENAI_API_KEY\"] = \"...\"" ]