Skip to content

The agent engineering platform.

Harrison/update azure nb (#5665)

Harrison Chase9921f8cc3aca
diff --git a/docs/modules/models/llms/integrations/azure_openai_example.ipynb b/docs/modules/models/llms/integrations/azure_openai_example.ipynb
index 66a262fff8..7ff43c93b4 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\"] = \"...\""
]