azure_openai_reasoning_tools.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export environment variables
4
Configure the Azure deployment
Deploy
gpt-4.1-mini. Name the deployment gpt-4.1-mini, or replace AzureOpenAI(id="gpt-4o-mini") with AzureOpenAI(id="<your-deployment-name>") in the saved file.5
Run the example
Save the code above as
azure_openai_reasoning_tools.py, then run: