跳至主要内容

Python + AI: Structured outputs

十月 15, 2025 | 5:00 - 6:00 下午 (UTC) 协调世界时

准备好开始使用 AI 和最新技术了吗? Microsoft Reactor 提供活动、培训和社区资源,帮助开发人员、企业家和初创公司利用 AI 技术等。 快加入我们吧!

Python + AI: Structured outputs

十月 15, 2025 | 5:00 - 6:00 下午 (UTC) 协调世界时

准备好开始使用 AI 和最新技术了吗? Microsoft Reactor 提供活动、培训和社区资源,帮助开发人员、企业家和初创公司利用 AI 技术等。 快加入我们吧!

返回

Python + AI: Structured outputs

十月 15, 2025 | 5:00 - 6:00 下午 (UTC) 协调世界时

  • 形式:
  • alt##Livestream直播

主题: 编码、语言和框架

语言: 英语

In our fifth stream of the Python + AI series, we'll discover how to get LLMs to output structured responses that adhere to a schema. In Python, all we need to do is define a @dataclass or a Pydantic BaseModel, and we get validated output that meets our needs perfectly.

We'll focus on the structured outputs mode available in OpenAI models, but you can use similar techniques with other model providers. Our examples will demonstrate the many ways you can use structured responses, like entity extraction, classification, and agentic workflows.

先决条件

If you'd like to follow along with the live examples, make sure you've got a GitHub account.

Habla español? Tendremos una serie para hispanohablantes!

主讲人

本页面的部分内容可能是机器翻译或人工智能翻译.