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

Add notebook for structured output generation with Instructor #44

Merged
merged 7 commits into from
Sep 9, 2024

Conversation

S4mpl3r
Copy link
Contributor

@S4mpl3r S4mpl3r commented Sep 6, 2024

This pull request adds a new notebook to the tutorials showcasing how to generate structured JSON outputs with groq and instructor. The instructor library already has a Groq integration and it makes it very easy to work with pydantic models for structured output generation. This notebook is inspired by OpenAI's structured output generation feature, which itself is seemingly inspired by the instructor library.

@S4mpl3r S4mpl3r changed the title Add example notebook for structured output generation with Instructor Add notebook for structured output generation with Instructor Sep 7, 2024
@hozen-groq
Copy link
Collaborator

Finally had a chance to review this and I just want to say a huge thank you because this is extremely well done and very valuable. Just a few small suggestions for wording that I'd love if you could review and incorporate. Overall, what a great addition to have in our cookbook! Fantastic job! 🚀 Can't wait to merge this and promote to our community.

Copy link
Contributor Author

@S4mpl3r S4mpl3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested changes reviewed and incorporated!

S4mpl3r and others added 6 commits September 9, 2024 21:40
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
…uctor.ipynb

Co-authored-by: Hatice Ozen <139392640+hozen-groq@users.noreply.github.com>
@hozen-groq hozen-groq merged commit 0309226 into groq:main Sep 9, 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.

2 participants