跳过导航
Anyone need some good news?
0:00 / 0:30

Anyone need some good news?

Samuel Colvin

@samuelcolvin2.1万 位关注者

在 X 上查看
549 个赞下载原帖

52,971 次观看

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...

10 条评论

评论来自 X (Twitter) 上的原帖

  • Samuel Colvin 的头像

    @samuel_colvin

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

    23 个赞

  • Jonas Vetterle 的头像

    @jvetterle

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

    8 个赞

  • TadasG | topyappers.com 的头像

    @JustADude404

    @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

    4 个赞

  • Samuel Colvin 的头像

    @samuel_colvin

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

    9 个赞

  • William Bakst 的头像

    @WilliamBakst

    @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?

    4 个赞

  • Daniel Micallef 的头像

    @micallef_daniel

    @pydantic @OpenAI Is the example open-sourced?

    3 个赞

  • Samuel Colvin 的头像

    @samuel_colvin

    @pydantic @OpenAI Not yet, will be soon.

    6 个赞

  • Teknium (e/λ) 的头像

    @Teknium1

    @pydantic @OpenAI Why’s it so slow

    3 个赞

  • Snehasish Barman 的头像

    @racksyz

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

    2 个赞

  • Omar MHAIMDAT 的头像

    @omarmhaimdat

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

    1 个赞