Back to library
AI
best practice

Ground Responses in Real-Time Web Data

Toggle Google Search grounding to eliminate hallucinations when discussing recent news.

Integrate Google Search into your Gemini sessions to ensure responses are based on real-time facts and current events rather than outdated training data.

Google Gemini

The Scenario

You need to prepare a briefing for your manager about a competitor's product launch that happened only two days ago.

Before & after

The old way

Searching Google, clicking through 5 separate news articles, and synthesizing the findings manually takes 20–30 minutes.

With AI

With Search grounding enabled, the AI fetches the latest news or documentation and summarizes it in under 60 seconds.

The Prompt

What are the latest updates to the [PRODUCT/TOPIC] as of this week? Summarize the news and cite the sources used.

Google Search grounding reduces hallucinations by forcing the model to verify facts against current web data. It is essential for topics involving recent events or software updates.

Source

Release notes  |  Gemini API  |  Google AI for Developers
"Ground responses in current events and facts from the web to reduce hallucinations... answering questions about recent events"