From d529edf8f36e0d928ee9039c3ed5e3eb4cad5ed5 Mon Sep 17 00:00:00 2001 From: nicornejo Date: Mon, 6 Jan 2025 18:02:18 -0300 Subject: [PATCH] Updating prompt to request a single cookie recipe The response_schema and the output indicates that only one recipe should be returned, but the prompt requested three. --- gemini-2/get_started.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemini-2/get_started.ipynb b/gemini-2/get_started.ipynb index 4b54d3473..5440b1767 100644 --- a/gemini-2/get_started.ipynb +++ b/gemini-2/get_started.ipynb @@ -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",