top | item 45254783

(no title)

gHA5 | 5 months ago

Are you using Pydantic AI for structured output? If so, have you also tried instructor?

discuss

order

colonCapitalDee|5 months ago

I did look at instructor and probably for structured output pydantic-ai and instructor are about the same, but pydantic-ai supports a ton of other stuff that isn't part of instructor's feature set. For me killer apps were the ability to serialize/deserialize conversations as json; frictionless tool-calling; and ability to mock the LLM client for testing.