Skip to content

Commit

Permalink
Updating prompt to request a single cookie recipe
Browse files Browse the repository at this point in the history
The response_schema and the output indicates that only one recipe should be returned, but the prompt requested three.
  • Loading branch information
nicornejo authored Jan 6, 2025
1 parent 18bb4f2 commit d529edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemini-2/get_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@
"\n",
"response = client.models.generate_content(\n",
" model=MODEL_ID,\n",
" contents=\"List 3 popular cookie recipes and their ingredients.\",\n",
" contents=\"Provide a popular cookie recipe and its ingredients.\",\n",
" config=types.GenerateContentConfig(\n",
" response_mime_type=\"application/json\",\n",
" response_schema=Recipe,\n",
Expand Down

0 comments on commit d529edf

Please sign in to comment.