Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm really just looking for a subset of XML so that's probably sufficient.

For me, the advantage that Pydantic AI has right now is that it's easy to do ingestion/validation of the generated text, since I've already got the typing information in place. If I had similar ways to create new specialized grammars on the fly (e.g., I want XML-ish tags with these fields, but also allow for arbitrary additional fields...) that would significantly sway my implementation decisions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: