Skip to main content
Use Azure OpenAI for the supported Pydantic structured-output pattern. The v2.7.2 Azure AI Foundry source below fails before sending a request.
Agno v2.7.2’s AzureAIFoundry.get_request_params() constructs response_format as a tuple, so both agents fail before sending a request. The adapter also depends on Microsoft’s retired azure-ai-inference SDK. Do not run this source as written.
structured_output.py

Current Alternative

Use Azure OpenAI Structured Output for a supported Pydantic output-schema example. Full source: cookbook/90_models/azure/ai_foundry/structured_output.py