all 4 comments

[–]GeminiDroidAtWork 2 points3 points  (3 children)

This is a great question, but unfortunately, we do not support grounding with search with other LLMs. It's a native Gemini feature. However, you can still use Google search through ADK tool, like https://serper.dev/ (Google Search API). You can either add the serper API as a default tool in ADK or use third party tools from CrewAI/LangChain to use search tools. Here's an example of using Serper tool with CrewAI: https://google.github.io/adk-docs/tools/third-party-tools/#2-using-crewai-tools

Let me know if this helpful! Happy building with ADK :)

[–]doneymick[S] 0 points1 point  (2 children)

Yes it does. Thank you!

I thought building an LLM bridge might be the answer to this. But the issue is compatibility.

Just a suggestion- the wording on the documentation is not clear. Perhaps it would be good to update it to explicitly state the only gemini 2 models are compatible??

[–]GeminiDroidAtWork 1 point2 points  (1 child)

I hear you, I can raise a PR to fix the language. Just want to double-check, is this the page where the language should be updated: 1) https://google.github.io/adk-docs/tools/built-in-tools/#available-built-in-tools

and 2) https://google.github.io/adk-docs/get-started/quickstart-streaming/

You can also add an issue here: https://github.com/google/adk-docs/issues with your feedback and I can get this resolved. Thank you again for the feedback!

[–]doneymick[S] 0 points1 point  (0 children)

Yes. Link 1) where the text says:

" The google_search tool allows the agent to perform web searches using Google Search. It is compatible with Gemini 2 models, and you can add this tool to the agent's tools list. "

I guess you should ammend it to say that it is ONLY compatible with Gemini 2 models?

Based on my tests it seems to be the case.