jxnl / instructor

structured outputs for llms
https://python.useinstructor.com/
MIT License
6.52k stars 514 forks source link

Disabling Pydantic Error #757

Closed ivanleomk closed 2 weeks ago

ivanleomk commented 3 weeks ago
:rocket: This description was created by Ellipsis for commit fde08d02c556dc9330802fce91f06321cda40e71

Summary:

Added a function to disable URLs in Pydantic error messages, updated documentation, and included tests.

Key points:


Generated with :heart: by ellipsis.dev

cloudflare-pages[bot] commented 3 weeks ago

Deploying instructor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 68be699
Status: ✅  Deploy successful!
Preview URL: https://2da927fc.instructor.pages.dev
Branch Preview URL: https://disable-pydantic-error.instructor.pages.dev

View logs

ivanleomk commented 3 weeks ago

@ssonal I forked your previous branch and made the function opt-in Instead. Wasn't able to get the CI working for your branch for some reason.

ivanleomk commented 3 weeks ago

This solves issue #509 and is based off #662.