Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Samuel Colvin
Samuel Colvinvor 1 Jahr

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

Profilbild von Jonas Vetterle
Jonas Vetterlevor 1 Jahr

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

Profilbild von TadasG | topyappers.com
TadasG | topyappers.comvor 1 Jahr

@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

Profilbild von Samuel Colvin
Samuel Colvinvor 1 Jahr

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

Profilbild von William Bakst
William Bakstvor 1 Jahr

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

Profilbild von Daniel Micallef
Daniel Micallefvor 1 Jahr

@pydantic @OpenAI Is the example open-sourced?

Profilbild von Samuel Colvin
Samuel Colvinvor 1 Jahr

@pydantic @OpenAI Not yet, will be soon.

Profilbild von Teknium (e/λ)
Teknium (e/λ)vor 1 Jahr

@pydantic @OpenAI Why’s it so slow

Profilbild von Snehasish Barman
Snehasish Barmanvor 1 Jahr

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

Profilbild von Omar MHAIMDAT
Omar MHAIMDATvor 1 Jahr

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

Ähnliche Videos