←back to thread

196 points vinhnx | 2 comments | | HN request time: 0.406s | source
Show context
iLoveOncall ◴[] No.45056540[source]
I really wish Pydantic invested in... Pydantic, instead of some AI API wrapper garbage.

I've been using it a lot lately and anything beyond basic usage is an absolute chore.

replies(3): >>45056749 #>>45057785 #>>45057990 #
dcreater ◴[] No.45057785[source]
I wish Python would improve to bridge the gaps between pydantic and dataclasses, so that we don't have to rely on pydantic. It's too foundational a piece to not be part of the core python anymore
replies(4): >>45058029 #>>45060570 #>>45060714 #>>45061676 #
1. devjab ◴[] No.45060570[source]
> I wish Python would improve to bridge the gaps between pydantic and dataclasses, so that we don't have to rely on pydantic. It's too foundational a piece to not be part of the core python anymore

I agree on the first part, but Pydantic is not important to Python. It's important to a lot of people, but it's absolutely unnecessary.

replies(1): >>45070020 #
2. dcreater ◴[] No.45070020[source]
its the ideal way to do structured outputs with LLMs and Python has become the default language for AI applications. I would wager that structured outputs are probably the no.1 usecase in AL applications