

Grounding With Google Search
Overview :
The Gemini API and Google AI Studio now offer a Grounding feature that combines with Google Search, enabling developers to gain more accurate and up-to-date responses generated by Google-assisted Gemini models. This feature not only provides precise responses but also returns supporting links and search suggestions, guiding users to relevant search results. The application of this technology can reduce misinformation in AI applications, provide updated information, enhance the credibility of AI applications, and increase traffic to publishers' websites through supporting links.
Target Users :
The target audience includes developers and users of AI applications. For developers, the Grounding feature provided by the Gemini API and Google AI Studio enhances the accuracy and reliability of AI applications. For users of AI applications, this technology delivers higher quality information and an improved user experience.
Use Cases
- In Google AI Studio, compare model response differences with and without Grounding enabled.
- Use the Gemini 1.5 Flash model to provide richer responses with supporting links through the Grounding feature.
- Developers can leverage the dynamic retrieval feature to decide whether to apply Grounding based on prediction scores, optimizing costs.
Features
- Provide more accurate responses: Enhance the accuracy of AI model answers with the assistance of Google Search.
- Real-time information access: Models can access real-time information, making AI applications more suitable for various scenarios.
- Boost trust and traffic: Increase the transparency of AI applications by providing supporting links, enhancing user trust, and encouraging users to click links for more information.
- Enrich information content: Enhance model responses with Google Search results, providing richer information.
- Support for all Gemini 1.5 model versions: The Grounding feature supports all generally available versions of Gemini 1.5.
- Free trial and paid usage: The Grounding feature can be tested for free in Google AI Studio, but requires payment in the API.
- Dynamic retrieval control: Developers can optimize costs and response times by setting thresholds to control which queries require Grounding.
How to Use
1. Access Google AI Studio or the Gemini API.
2. Enable the Grounding feature in the 'Tools' section of Google AI Studio, or activate it in the API by enabling the 'google_search_retrieval' tool.
3. Submit queries and observe the model's responses, comparing the differences before and after enabling Grounding.
4. Adjust the dynamic retrieval threshold as needed to control which queries require Grounding.
5. Analyze the 'groundingMetadata' in the responses, including supporting links, confidence scores, and search suggestions.
6. Further integrate and optimize the Grounding feature by following the code samples and guidelines provided in the documentation.
Featured AI Tools

Gemini
Gemini is the latest generation of AI system developed by Google DeepMind. It excels in multimodal reasoning, enabling seamless interaction between text, images, videos, audio, and code. Gemini surpasses previous models in language understanding, reasoning, mathematics, programming, and other fields, becoming one of the most powerful AI systems to date. It comes in three different scales to meet various needs from edge computing to cloud computing. Gemini can be widely applied in creative design, writing assistance, question answering, code generation, and more.
AI Model
11.4M
Chinese Picks

Liblibai
LiblibAI is a leading Chinese AI creative platform offering powerful AI creative tools to help creators bring their imagination to life. The platform provides a vast library of free AI creative models, allowing users to search and utilize these models for image, text, and audio creations. Users can also train their own AI models on the platform. Focused on the diverse needs of creators, LiblibAI is committed to creating inclusive conditions and serving the creative industry, ensuring that everyone can enjoy the joy of creation.
AI Model
6.9M