Skip to content

Commit 5e876c2

Browse files
authored
Move Python function calling tutorial (google#376)
* Move Python function calling tutorial * nbfmt
1 parent d216731 commit 5e876c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

site/en/tutorials/function_calling_python_quickstart.ipynb renamed to site/en/gemini-api/docs/function-calling/python.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@
4848
"source": [
4949
"<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
5050
" <td>\n",
51-
" <a target=\"_blank\" href=\"https://ai.google.dev/tutorials/function_calling_python_quickstart\"><img src=\"https://ai.google.dev/static/site-assets/images/docs/notebook-site-button.png\" height=\"32\" width=\"32\" />View on ai.google.dev</a>\n",
51+
" <a target=\"_blank\" href=\"https://ai.google.dev/gemini-api/docs/function-calling/python\"><img src=\"https://ai.google.dev/static/site-assets/images/docs/notebook-site-button.png\" height=\"32\" width=\"32\" />View on ai.google.dev</a>\n",
5252
" </td>\n",
5353
" <td>\n",
54-
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/google/generative-ai-docs/blob/main/site/en/tutorials/function_calling_python_quickstart.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
54+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/google/generative-ai-docs/blob/main/site/en/gemini-api/docs/function-calling/python.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
5555
" </td>\n",
5656
" <td>\n",
57-
" <a target=\"_blank\" href=\"https://github.com/google/generative-ai-docs/blob/main/site/en/tutorials/function_calling_python_quickstart.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
57+
" <a target=\"_blank\" href=\"https://github.com/google/generative-ai-docs/blob/main/site/en/gemini-api/docs/function-calling/python.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
5858
" </td>\n",
5959
"</table>"
6060
]
@@ -185,13 +185,13 @@
185185
"try:\n",
186186
" # Used to securely store your API key\n",
187187
" from google.colab import userdata\n",
188-
" \n",
188+
"\n",
189189
" # Or use `os.getenv('API_KEY')` to fetch an environment variable.\n",
190190
" GOOGLE_API_KEY=userdata.get('GOOGLE_API_KEY')\n",
191191
"except ImportError:\n",
192192
" import os\n",
193193
" GOOGLE_API_KEY = os.environ['GOOGLE_API_KEY']\n",
194-
" \n",
194+
"\n",
195195
"genai.configure(api_key=GOOGLE_API_KEY)"
196196
]
197197
},
@@ -761,7 +761,7 @@
761761
],
762762
"metadata": {
763763
"colab": {
764-
"name": "function_calling_python_quickstart.ipynb",
764+
"name": "python.ipynb",
765765
"toc_visible": true
766766
},
767767
"google": {

0 commit comments

Comments
 (0)