Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Conversation

@shilpakancharla
Copy link
Collaborator

No description provided.

@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 Jul 3, 2024
Copy link
Collaborator

@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.

The response schema is in the text right now, it should be in the GenerationCongif.response_schema.

If you ever need a shortcut to generate the json you can for a request you can run it in the python SDK and intercept it(in debug mode) then type(r).to_dict(r, use_integers_for_enums=False)

json_no_schema working

Fix quoting.
@MarkDaoust MarkDaoust merged commit 032f78f into google-gemini:main Jul 23, 2024
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component:python sdk Issue/PR related to Python SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants