Support Pydantic for Structured Outputs

Ability to define schemas for structured outputs with Pydantic support => should be possible by tuning the Stainless SDKs.

1 Like

Found a fix for this! @yawnxyz

Might be worth reaching out to Jason. He highlights Groq in the repo :slight_smile:

1 Like

Instructor is great! We’re big fans of jxnl!

It’s a great option for people using Python in the client!

Are you saying you replaced pydantic with instructor and it works?

Try both and see which one works better for your project — I’m just a personal fan of these projects, they have no Groq affiliation

Already tried pydantic and you folks have issues with pydantic as mentioned before.

Well it’s usually model-specific, but have you tried Instructor yet? You could also probably roll your own for your use case

1 Like