Skip to content

Commit f6304b8

Browse files
Giom-Vmarkmcd
andauthored
Url Context (#897)
* Adding more URL context examples (pdf; images, search+url context) --------- Co-authored-by: Mark McDonald <[email protected]>
1 parent 8d553c6 commit f6304b8

File tree

4 files changed

+653
-1155
lines changed

4 files changed

+653
-1155
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Here are the recent additions and updates to the Gemini API and the Cookbook:
2424
* **Lyria and TTS**: Get started with podcast and music generation with the [TTS](./quickstarts/Get_started_TTS.ipynb) and [Lyria RealTime](./quickstarts/Get_started_LyriaRealTime.ipynb) models.
2525
* **LiveAPI**: Get started with the [multimodal Live API](./quickstarts/Get_started_LiveAPI.ipynb) and unlock new interactivity with Gemini.
2626
* **Recently Added Guides:**
27-
* [Grounding](./quickstarts/Grounding.ipynb): Discover different ways to ground Gemini's answer using different tools, from Google Search to Youtube and the new url context tool.
27+
* [Grounding](./quickstarts/Grounding.ipynb): Discover different ways to ground Gemini's answer using different tools, from Google Search to Youtube and the new **url context** tool.
2828
* [Batch-mode](./quickstarts/Batch_mode.ipynb): Use Batch-mode to send large volume of non-time-sensitive requests to the model and get a 50% discount.
2929

3030

@@ -58,7 +58,7 @@ Then, explore the other quickstarts tutorials to learn about individual features
5858
## 2. Examples (Practical Use Cases)
5959

6060
These examples demonstrate how to combine multiple Gemini API features or 3rd-party tools to build more complex applications.
61-
* [Browser as a tool](./examples/Browser_as_a_tool.ipynb): Use a web browser for live and internal (intranet) web interactions
61+
* [Browser as a tool](./examples/Browser_as_a_tool.ipynb): Use a web browser for live and internal (intranet) web interactions
6262
* [Illustrate a book](./examples/Book_illustration.ipynb): Use Gemini and Imagen to create illustration for an open-source book
6363
* [Animated Story Generation](./examples/Animated_Story_Video_Generation_gemini.ipynb): Create animated videos by combining Gemini's story generation, Imagen, and audio synthesis
6464
* [Plotting and mapping Live](./examples/LiveAPI_plotting_and_mapping.ipynb): Mix *Live API* and *Code execution* to solve complex tasks live

examples/Browser_as_a_tool.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
"\n",
5555
"* Requesting live data using a browser tool with the Live API\n",
5656
"* Returning images of web pages from function calling\n",
57-
"* Connecting to a local network/intranet using a browser tool\n"
57+
"* Connecting to a local network/intranet using a browser tool\n",
58+
"\n",
59+
"**Note**: for most of the use-cases, you can use the tools directly by Gemini to get it to search content using Google Search, grab videos from YouTube or fetch context from URLs without having to set-up anything. Check out the [Grounding](https://colab.research.google.com/quickstarts/Grounding.ipynb) notebook for more details.\n"
5860
]
5961
},
6062
{
@@ -1193,7 +1195,7 @@
11931195
"source": [
11941196
"## Further reading\n",
11951197
"\n",
1196-
"* To learn more about using the search tools, try the [Search grounding](../quickstarts/Search_Grounding.ipynb) cookbook recipe.\n",
1198+
"* To learn more about using the grounding tools (search grounding, YouTube links and URL context), check out the [Grounding](../quickstarts/Grounding.ipynb) notebook or the one dedicated to [Seach grounding](../quickstarts/Search_Grounding.ipynb).\n",
11971199
"* For more advanced examples of function calling in the Live API, try the [Plotting and Mapping](../examples/LiveAPI_plotting_and_mapping.ipynb) cookbook recipe.\n",
11981200
"\n",
11991201
"Or browse the [Gemini API cookbook](http://github.com/google-gemini/cookbook)."

0 commit comments

Comments
 (0)