Examples and guides for using the OpenAI API
Removed api_key when using Azure Active Directory (#897)
Spring_MT8d0e43914e0e
diff --git a/examples/azure/chat.ipynb b/examples/azure/chat.ipynbindex 7fd9b736..d239e2ee 100644--- a/examples/azure/chat.ipynb+++ b/examples/azure/chat.ipynb@@ -115,7 +115,6 @@"\n","if use_azure_active_directory:\n"," endpoint = os.environ[\"AZURE_OPENAI_ENDPOINT\"]\n",- " api_key = os.environ[\"AZURE_OPENAI_API_KEY\"]\n","\n"," client = openai.AzureOpenAI(\n"," azure_endpoint=endpoint,\n",