Skip to content

Commit

Permalink
Removed api_key when using Azure Active Directory (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringMT authored Dec 4, 2023
1 parent 59019bd commit 8d0e439
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/azure/chat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8d0e439

Please sign in to comment.