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 JSON mode #274

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Add JSON mode #274

merged 2 commits into from
Apr 15, 2024

Conversation

shilpakancharla
Copy link
Collaborator

@shilpakancharla shilpakancharla commented Apr 10, 2024

Description of the change

Adding JSON mode. Users can specify application/json to the response_mime_type parameter for generate_content.

Fixes: #137

@shilpakancharla shilpakancharla requested a review from a team as a code owner April 10, 2024 21:49
@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Apr 10, 2024
MarkDaoust
MarkDaoust previously approved these changes Apr 12, 2024
@MarkDaoust
Copy link
Collaborator

LGTM, can you fix the failing check?

@MarkDaoust MarkDaoust mentioned this pull request Apr 13, 2024
@MarkDaoust MarkDaoust merged commit 9e6767b into google-gemini:main Apr 15, 2024
7 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python sdk Issue/PR related to Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSON Mode
2 participants