Class GoogleSearch
Grounding with Google Search connects the Gemini model to real-time web content and works with all available languages. This allows Gemini to provide more accurate answers and cite verifiable sources beyond its knowledge cutoff.
public class GoogleSearch : Tool
- Inheritance
-
objectGoogleSearch
- Inherited Members
Remarks
Grounding helps you build applications that can:
- Increase factual accuracy: Reduce model hallucinations by basing responses on real-world information.
- Access real-time information: Answer questions about recent events and topics.
- Provide citations: Build user trust by showing the sources for the model's claims.
Supported models:
- Gemini 2.5 Pro, Flash, Flash-Lite
- Gemini 2.0 Flash
- Gemini 1.5 Pro, Flash