This folder contains notebooks that demonstrate several use cases implemented using Azure OpenAI's Assistants API and Agent frameworks such as AutoGen, TaskWeaver, Semantic Kernel, and Langgraph.
- An Azure subscription - Create one for free
- An Azure OpenAI resource - Create one
- Python 3.10 or later - Install Python
- VS Code or Jupyter Notebook - Install VS Code | Install Jupyter Notebook
- From Azure OpenAI, retrieve your model's name, and endpoint.
- Ensure that the Managed Identity1 for your Azure OpenAI resource is properly configured and has the necessary roles assigned.
- Set the
.env
file with the following environment variables:OPENAI_MODEL_NAME=<your-model-name> OPENAI_ENDPOINT=<your-endpoint>
- Run the notebooks.
Using Managed Identity (MI) with Azure services enhances security by eliminating the need to manage API keys or other sensitive credentials in your code or configuration files. MI ensures an identity is managed by Azure and provides automatic authentication to Azure services. This reduces the risk of credential leakage and simplifies the management of permissions and access control.
WIP
Footnotes
-
[!TIP]