Skip to content

Commit 6efd242

Browse files
pamorgancopybara-github
authored andcommitted
docs: prompt and schema fix for json schema sample
PiperOrigin-RevId: 798296887
1 parent c0cc57d commit 6efd242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,10 +790,10 @@ user_profile = {
790790

791791
response = client.models.generate_content(
792792
model='gemini-2.0-flash',
793-
contents='Give me information of the United States.',
793+
contents='Give me a random user profile.',
794794
config={
795795
'response_mime_type': 'application/json',
796-
'response_json_schema': userProfile
796+
'response_json_schema': user_profile
797797
},
798798
)
799799
print(response.parsed)

0 commit comments

Comments
 (0)