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 text summarization JSON example #177

Merged
merged 11 commits into from
May 30, 2024
Merged

Conversation

shilpakancharla
Copy link
Collaborator

Uses Gemini 1.5 Flash model with response_schema. Please let me know if this should use Gemini 1.5 Pro.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:examples Issues/PR referencing examples folder labels May 28, 2024
Copy link
Contributor

@MarkDaoust MarkDaoust left a comment

Choose a reason for hiding this comment

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

There's no way to set tyhe fields to required right now. I shopuld fix that.

@shilpakancharla shilpakancharla merged commit cae597c into main May 30, 2024
3 checks passed
Vruddhi18 pushed a commit to Vruddhi18/cookbook that referenced this pull request Dec 2, 2024
* Add example for adding context information for prompting

* delete

* Add text summarization JSON example

* Reformat notebook

* Replace we with you

* Add licensing

* update colab button link

* Reformat notebook

* Reformat notebook

* Reformat notebook

* Use default temperature, use pro

---------

Co-authored-by: Mark Daoust <markdaoust@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:examples Issues/PR referencing examples folder status:awaiting review PR awaiting review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants