|
48 | 48 | "source": [ |
49 | 49 | "<table class=\"tfo-notebook-buttons\" align=\"left\">\n", |
50 | 50 | " <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", |
52 | 52 | " </td>\n", |
53 | 53 | " <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", |
55 | 55 | " </td>\n", |
56 | 56 | " <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", |
58 | 58 | " </td>\n", |
59 | 59 | "</table>" |
60 | 60 | ] |
|
185 | 185 | "try:\n", |
186 | 186 | " # Used to securely store your API key\n", |
187 | 187 | " from google.colab import userdata\n", |
188 | | - " \n", |
| 188 | + "\n", |
189 | 189 | " # Or use `os.getenv('API_KEY')` to fetch an environment variable.\n", |
190 | 190 | " GOOGLE_API_KEY=userdata.get('GOOGLE_API_KEY')\n", |
191 | 191 | "except ImportError:\n", |
192 | 192 | " import os\n", |
193 | 193 | " GOOGLE_API_KEY = os.environ['GOOGLE_API_KEY']\n", |
194 | | - " \n", |
| 194 | + "\n", |
195 | 195 | "genai.configure(api_key=GOOGLE_API_KEY)" |
196 | 196 | ] |
197 | 197 | }, |
|
761 | 761 | ], |
762 | 762 | "metadata": { |
763 | 763 | "colab": { |
764 | | - "name": "function_calling_python_quickstart.ipynb", |
| 764 | + "name": "python.ipynb", |
765 | 765 | "toc_visible": true |
766 | 766 | }, |
767 | 767 | "google": { |
|
0 commit comments