正在加载视频...

视频加载失败

Anyone need some good news? Pydantic validating streamed structured responses on the fly from OpenAI. (using pre-release Pydantic v2.10). There's something cooking in the Pydantic kitchen...

52,971 次观看 • 1 年前 •via X (Twitter)

10 条评论

Samuel Colvin 的头像
Samuel Colvin1 年前

This is made possible by the new "allow partial" functionality added in @pydantic v2.10.

Jonas Vetterle 的头像
Jonas Vetterle1 年前

@pydantic @OpenAI llms and pydantic are like that chaotic friend and their super organised roommate 😂 a match made in heaven

TadasG | topyappers.com 的头像
TadasG | topyappers.com1 年前

@pydantic @OpenAI please please add other LLMs as well. From my personal experience @LeadsOnTrees Gemini is a lot better for parsing unstructured text into Pydantic models <3

Samuel Colvin 的头像
Samuel Colvin1 年前

@pydantic @OpenAI @LeadsOnTrees Gemini is already supported, although their JSON Schema support is much less sophisticated than @OpenAI.

William Bakst 的头像
William Bakst1 年前

@pydantic @OpenAI @jxnlco i feel like instructor and mirascope have had this functionality for quite a while now @samuel_colvin I’m curious to see what’s different here any timeline? guessing this will be the `pydantic-ai` package?

Daniel Micallef 的头像
Daniel Micallef1 年前

@pydantic @OpenAI Is the example open-sourced?

Samuel Colvin 的头像
Samuel Colvin1 年前

@pydantic @OpenAI Not yet, will be soon.

Teknium (e/λ) 的头像
Teknium (e/λ)1 年前

@pydantic @OpenAI Why’s it so slow

Snehasish Barman 的头像
Snehasish Barman1 年前

@pydantic @OpenAI Awesome work. Now I can remove some external dependencies.

Omar MHAIMDAT 的头像
Omar MHAIMDAT1 年前

@pydantic @OpenAI What are you guys cooking 🧑‍🍳?

相关视频