Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing Typescript inference #72

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

ethanleifer
Copy link
Contributor

Implements inference type checking for the 6 cases we have outlined:

Cases of type inference testing:

  1. no response_model, stream
  2. no response_model, no stream
  3. response_model, stream, no max_retries
  4. response_model, no stream, no max_retries
  5. response_model, stream, max_retries
  6. response_model, no stream, max_retries

Similar functionality as #69 but without examples testing

Copy link

changeset-bot bot commented Jan 8, 2024

🦋 Changeset detected

Latest commit: 6a51cc8

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

@roodboi roodboi merged commit 265a9e5 into instructor-ai:main Jan 8, 2024
1 check passed
@roodboi roodboi mentioned this pull request Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants