Thoughts on the new Pydantic AI? #1235
Replies: 4 comments 3 replies
-
I watched some intro video on PydanticAI & what I really liked is that it not only validates the LLMs output but also lets you validate the inputs via pydantic model. Of course you could do this by yourself, but Pydantic AI offers this out of the box and it really lets you control your workflow even more -> input is valid, output is valid, everything in between is only LLM. Pretty neat stuff. |
Beta Was this translation helpful? Give feedback.
-
Either way I'd love some input from @jxnl on this! |
Beta Was this translation helpful? Give feedback.
-
Bump for visibility... Was this ever discussed at all? @jxnl |
Beta Was this translation helpful? Give feedback.
-
It's like 'pydantic is all you need' is becoming more and more true with each passing year. However at the moment I much prefer the simplicity and flexibility of Instructor (I will also be eternally grateful to it for saving me from LangChain). |
Beta Was this translation helpful? Give feedback.
-
https://ai.pydantic.dev/
Seems like what Pydantic is working on is very similar to Instructor.
What are your thoughts, are there any plans of further collaboration or will Instructor somehow start integrating PydanticAI or will it stay completely separate or..?
Beta Was this translation helpful? Give feedback.
All reactions