-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add response_schema parameter (#302)
* Add response_schema parameter * Update types for response_schema * fix type Change-Id: I90e9c4218f041687c3b50e620305b6eff09b650a * Update type to Mapping[str, Any] * Update Any import * Add black . format check * check black . precheck * Remove seed parameter for now * Update google/generativeai/types/generation_types.py * Added test cases for response_schema, function for normalizing schema, and enums for type field in schema --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
- Loading branch information
1 parent
c165b20
commit a96feda
Showing
3 changed files
with
124 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters