/connect-AML-to-Azure-OpenAI

Connect Azure Machine Learning with Azure OpenAI, with AAD identity or managed identities.

Primary LanguageJupyter NotebookMIT LicenseMIT

Azure Machine Learning <3 OpenAI

Learn how to connect Azure Machine Learning with Azure OpenAI, without the use of shared API keys.

Best practice in an enterprise environment is to disable public internet access to your Azure OpenAI resource and to enforce a policy that disables local authentication methods (key based access). This will give you full control of whom is able to access your Azure OpenAI resource and mitigate the risks of shared API keys.

Notebooks

When you use a Compute Instance in Azure Machine Learning, you can utilize the following notebooks to authenticate to your Azure OpenAI resource, without having to provide any credentials in your code.