Navigation überspringen
Anyone need some good news?
0:00 / 0:30

Anyone need some good news?

Samuel Colvin

@samuelcolvin20.702 Follower

Auf X besuchen

52.971 Aufrufe

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 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Samuel Colvin

    @samuel_colvin

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

    23 Likes

  • Profilbild von Jonas Vetterle

    @jvetterle

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

    8 Likes

  • Profilbild von 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 Likes

  • Profilbild von Samuel Colvin

    @samuel_colvin

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

    9 Likes

  • Profilbild von 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 Likes

  • Profilbild von Daniel Micallef

    @micallef_daniel

    @pydantic @OpenAI Is the example open-sourced?

    3 Likes

  • Profilbild von Samuel Colvin

    @samuel_colvin

    @pydantic @OpenAI Not yet, will be soon.

    6 Likes

  • Profilbild von Teknium (e/λ)

    @Teknium1

    @pydantic @OpenAI Why’s it so slow

    3 Likes

  • Profilbild von Snehasish Barman

    @racksyz

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

    2 Likes

  • Profilbild von Omar MHAIMDAT

    @omarmhaimdat

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

    1 Like