Clarify google_search tool billing and terms of service
Very excited about the possibilities of the google_search tool but there are several things that unclear from the documentation.
- Is the google_search tool the same as "Grounding with Google Search?"
- If no, how is it billed?
- Does using it also have the same requirements to display Google Search Suggestions? Are there more general Terms for using this tool? The docs state:
To use Grounding with Google Search, you have to display Google Search Suggestions
- Is it possible to modify the parameters of the tool such as the dynamic retrieval threshold that is available in other apis?
Yes, it's the same one, assuming you meant google_search_tool.py.
This is the built-in tool of Gemini 2+ family.
For no.4, could you elaborate? Right now, there is no any additional parameters in GoogleSearch tool yet.
Right, I think i misunderstood the documentation - I didn't realize dynamic threshold was only configurable for the older method.
I think the requirements for displaying suggested queries should be called out in the docs - unfortunately it basically rules out using gemini grounding for my use case (too much work to implement the frontend components in the places I want to use the generated text). Hope that requirement changes someday.
Polong please help to update the doc about google_search with the requirement of displaying search suggestions. https://cloud.google.com/vertex-ai/generative-ai/docs/grounding/grounding-search-suggestions
The UI code (HTML) is returned in the Gemini response as renderedContent. The developer needs to show this HTML in their app according to the policy.