Skip to content

Commit

Permalink
Update examples/prompting/Few_shot_prompting.ipynb
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Daoust <markdaoust@google.com>
  • Loading branch information
shilpakancharla and MarkDaoust authored May 30, 2024
1 parent bb3b6f0 commit 66cc8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/prompting/Few_shot_prompting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"MODEL: {\"Minsk\": \"Ukraine\", \"Monaco\": \"Monaco\", \"Maputo\": \"Mozambique\"}\n",
"USER: I am currently in Austin, but I will be moving to Lisbon soon\n",
"MODEL:\"\"\"\n",
"model.generate_content(prompt).text"
"model.generate_content(prompt, generation_config={'response_mime_type':'application/json'}).text"
]
},
{
Expand Down

0 comments on commit 66cc8f7

Please sign in to comment.