You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Microsoft Azure Active Directory Authentication
85
+
86
+
In order to use Microsoft Active Directory to authenticate to your Azure endpoint, you need to set the api_type to "azure_ad" and pass the acquired credential token to api_key. The rest of the parameters need to be set as specified in the previous section.
Copy file name to clipboardExpand all lines: examples/azure/finetuning.ipynb
+31-2Lines changed: 31 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,35 @@
40
40
"openai.api_version = '2022-03-01-preview' # this may change in the future"
41
41
]
42
42
},
43
+
{
44
+
"cell_type": "markdown",
45
+
"metadata": {},
46
+
"source": [
47
+
"## Microsoft Active Directory Authentication\n",
48
+
"Instead of key based authentication, you can use Active Directory to authenticate using credential tokens. Uncomment the next code section to use credential based authentication:"
0 commit comments