Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3395df commit 3c334e7Copy full SHA for 3c334e7
examples/azure/finetuning.ipynb
@@ -58,7 +58,7 @@
58
"from azure.identity import DefaultAzureCredential\n",
59
"\n",
60
"default_credential = DefaultAzureCredential()\n",
61
- "token = default_credential.get_token(\"https://cognitiveservices.azure.com\")\n",
+ "token = default_credential.get_token(\"https://cognitiveservices.azure.com/.default\")\n",
62
63
"openai.api_type = 'azure_ad'\n",
64
"openai.api_key = token.token\n",
0 commit comments