|
110 | 110 | "id": "l8g4hTRotheH"
|
111 | 111 | },
|
112 | 112 | "source": [
|
113 |
| - "#### Setup your API key\n", |
| 113 | + "#### Set up your API key\n", |
114 | 114 | "\n",
|
115 |
| - "To run the following cell, your API key must be stored it in a Colab Secret named `GOOGLE_API_KEY`. If you don't already have an API key, or you're not sure how to create a Colab Secret, see [Authentication](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Authentication.ipynb) for an example." |
| 115 | + "To run the following cell, your API key must be stored it in a Colab Secret named `GOOGLE_API_KEY`. If you don't already have an API key, or you're not sure how to create a Colab Secret, see [Authentication](../quickstarts/Authentication.ipynb) for an example." |
116 | 116 | ]
|
117 | 117 | },
|
118 | 118 | {
|
|
340 | 340 | "\n",
|
341 | 341 | "The File API lets you upload a variety of multimodal MIME types, including images, audio, and video formats. The File API handles inputs that can be used to generate content with [`model.generateContent`](https://ai.google.dev/api/rest/v1/models/generateContent) or [`model.streamGenerateContent`](https://ai.google.dev/api/rest/v1/models/streamGenerateContent).\n",
|
342 | 342 | "\n",
|
343 |
| - "* Learn more about the [File API](https://github.com/google-gemini/cookbook/blob/main/quickstarts/File_API.ipynb) with the quickstart.\n", |
| 343 | + "* Learn more about the [File API](../quickstarts/File_API.ipynb) with the quickstart.\n", |
344 | 344 | "\n",
|
345 | 345 | "* Learn more about prompting with [media files](https://ai.google.dev/tutorials/prompting_with_media) in the docs, including the supported formats and maximum length.\n",
|
346 | 346 | "\n",
|
347 | 347 | "### Related examples\n",
|
348 | 348 | "\n",
|
349 | 349 | "Check those examples videos with the Gemini API to give you more ideas what you can do with them:\n",
|
350 |
| - "* Analyze videos to [classify](examples/Analyze_a_Video_Classification.ipynb) or [summarize](https://github.com/google-gemini/cookbook/blob/main/examples/Analyze_a_Video_Summarization.ipynb) them\n", |
351 |
| - "* Have the Gemini API recognize an [historical moment](examples/Analyze_a_Video_Historic_Event_Recognition.ipynb) and tell you more about it\n", |
| 350 | + "* Analyze videos to [classify](../examples/Analyze_a_Video_Classification.ipynb) or [summarize](../examples/Analyze_a_Video_Summarization.ipynb) them\n", |
| 351 | + "* Have the Gemini API recognize an [historical moment](../examples/Analyze_a_Video_Historic_Event_Recognition.ipynb) and tell you more about it\n", |
352 | 352 | "\n",
|
353 | 353 | "### Continue your discovery of the Gemini API\n",
|
354 | 354 | "\n",
|
355 |
| - "If you're not already familiar with it, learn how [tokens are counted](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Counting_Tokens.ipynb). Then check how to use the File API to use [Audio files](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Audio.ipynb) with the Gemini API.\n" |
| 355 | + "If you're not already familiar with it, learn how [tokens are counted](../quickstarts/Counting_Tokens.ipynb). Then check how to use the File API to use [Audio files](../quickstarts/Audio.ipynb) with the Gemini API.\n" |
356 | 356 | ]
|
357 | 357 | }
|
358 | 358 | ],
|
|
0 commit comments