Python + AI: Function calling & structured outputs

Subscribers:
112,000
Published on ● Video Link: https://www.youtube.com/watch?v=4rFVLMBwjGY



Duration: 0:00
1,577 views
1


In our fifth stream of the Python + AI series, we're going to explore the two main ways to get LLMs to output structured responses that adhere to a schema: function calling and structured outputs.

We'll start with function calling, which is the most well supported way to get structured responses, and discuss its drawbacks. Then we'll focus on the new structured outputs mode available in OpenAI models, which can be used with Pydantic models and even used in combination with function calling.

Our examples will demonstrate the many ways you can use structured responses, like entity extraction, classification, and agentic workflows.

📌 Follow-along live, thanks to GitHub Models (https://github.com/marketplace/models) and GitHub Codespaces.
If you'd like to follow along with the live examples, make sure you've got a GitHub account.

📌 You can also join a weekly office hours to ask any questions that don't get answered in the chat, in our AI Discord: https://aka.ms/aipython/oh

📌 This session is a part of a series. To learn more, click here: https://aka.ms/PythonAI/series

#MicrosoftReactor #learnconnectbuild

[eventID:25087]




Other Videos By Microsoft Reactor


2025-03-25Policy: The Missing Link in Continuous Compliance using GitHub and Fianu
2025-03-25Descrever a função, os tipos de identidade e as capacidades de autenticação do Microsoft Entra ID
2025-03-25上海 | 构建AI驱动应用的架构实践
2025-03-25Azure Incident Retrospective: Entra ID Seamless SSO Connect Sync, Feb 2025 (Tracking ID: TMS9-J_8)
2025-03-25Data Factory Connector Lifecycle and Upgrade
2025-03-25Semantic Kernel with C# to build multi-agent AI applications powered by Azure Cosmos DB
2025-03-25AI Genius Taiwan | 快速上手 Copilot for Azure 部署雲端應用
2025-03-25Boosting Performance in Your SQL Server Data Warehouse
2025-03-25Seamless Deployment Pipelines with Power BI
2025-03-25Building a RAG AI Copilot using Azure Redis and .NET Aspire
2025-03-24Python + AI: Function calling & structured outputs
2025-03-24AI Genius Taiwan | 打造智慧型 Multi-Agent 系統
2025-03-24AI Genius Taiwan | AI Agents 入門
2025-03-24AI Genius Taiwan | 運用 Azure AI Search 打造產品級 RAG 應用
2025-03-24Azure Cosmos DB Conf 2025
2025-03-24Building custom engine agents with Azure AI Foundry and Visual Studio Code
2025-03-24Golang SP e Firstbase no Microsoft Reactor
2025-03-23AZ-104: Monitor and back up Azure Resources
2025-03-23Descrever conceitos de segurança, conformidade e identidade
2025-03-23Data Factory in Microsoft Fabric | Mirroring for Enterprises with Oracle GoldenGate and Fabric
2025-03-23Semantic Kernel Office Hours for APAC - March 12th, 2025