instructor-ai / instructor-js

structured extraction for llms
https://js.useinstructor.com
MIT License
526 stars 57 forks source link

Update provider validation and add groq + examples #162

Closed roodboi closed 5 months ago

roodboi commented 5 months ago

Previously we were throwing if hte provider/mode mapping didn't match - but support changes and it doesn't make sense to throw here so just adding a warning instead - also adding groq

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: f4cfbd95da5ab942c2dd989a0a59463a4e30ee20

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @instructor-ai/instructor | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

cloudflare-workers-and-pages[bot] commented 5 months ago

Deploying instructor-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: f4cfbd9
Status: âœ…  Deploy successful!
Preview URL: https://17a41c44.instructor-js.pages.dev
Branch Preview URL: https://update-provideres.instructor-js.pages.dev

View logs