Skip to content

Commit

Permalink
Update Function_calling.ipynb (google-gemini#116)
Browse files Browse the repository at this point in the history
a*b => a/b
  • Loading branch information
Wolke authored May 7, 2024
1 parent 2cd3a25 commit 0594fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickstarts/Function_calling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"\n",
"def divide(a:float, b:float):\n",
" \"\"\"returns a / b.\"\"\"\n",
" return a*b\n",
" return a/b\n",
"\n",
"model = genai.GenerativeModel(model_name='gemini-1.0-pro',\n",
" tools=[add, subtract, multiply, divide])\n",
Expand Down

0 comments on commit 0594fc0

Please sign in to comment.