Перевірити рівеньКурсиПрограмиДля командТарифи
RUУвійтиРеєстрація
Перевірити рівеньКурсиПрограмиДля командТарифиТест із ClaudeПромптиБлогПитання та відповідіПошукРеєстраціяRU
AcademlКурсиGemini in Practice: Real Google ExamplesSearch Grounding: Real-Time Data in Responses
Чек замовлення, який зібрав бот-бариста через виклик add_to_orderСхема сценарію: повідомлення в Telegram розходиться на команду, голос і текст і приходить до агентаЗаявка з форми потрапляє в рядок таблиці з міткою «Скарга»
Курс

Gemini in Practice: Real Google Examples

Модуль 1 · Agents and Tools
01ReAct Agent: Reasoning + Acting02Search Grounding: Real-Time Data in Responses03Barista Bot: Agent with Automatic Function Calling
Модуль 2 · Structured Data Extraction
04Entity Extraction from Text05Structured Output from PDFs: Invoices and Forms
Модуль 3 · Embeddings: Search and Anomaly Detection
06Anomaly Detection with Embeddings07Search Re-Ranking with Embeddings
Модуль 4 · Data Analysis and Integrations
08GitHub Issue Analyzer: Repository Analysis with Gemini
Gemini in Practice: Real Google Examples · Урок 2

Search Grounding: Real-Time Data in Responses

Connect the google_search tool to Gemini 4 Hydrogen through the Interactions API, stream a company report and extract source links. Search pricing and limits, URL context, Google Maps and the Deep Research agent.

ENМатеріали курсів поки англійською. Інтерфейс, ШІ-наставник і перевірка завдань — українською.

30 хв читанняОновлено 02.12.20263 питання у квізіГотовий промпт включено

Grounding with Google Search

The google_search tool connects Gemini to live Google Search. The model decides whether a search would help, writes one or more queries, reads the results and answers with links to its sources. The tool is supported on Gemini 4 models (Argon, Hydrogen and others) and on Gemini 3.x: 3.8 Flash, 3.6 Flash, 3.5 Flash-Lite, 3.1 Pro preview.

Google recommends the Interactions API (client.interactions.create) for new projects. The older generate_content is now called legacy: it is still supported, but the examples below use the new API.

from google import genai

client = genai.Client()  # reads the key from GEMINI_API_KEY
MODEL_ID = "gemini-4-hydrogen"

gemini-4-hydrogen launched in November 2026 and suits everyday agent tasks. gemini-3.8-flash works too. gemini-2.5-flash is deprecated: since December 1, 2026, requests to it are automatically routed to gemini-3.5-flash-lite.

Далі урок відкривається після безкоштовної реєстрації

Реєстрація через email або Google відкриває перші два уроки кожного курсу назавжди і 7 днів повного доступу до всього каталогу. Картка не потрібна.

Зареєструватися безкоштовноАбо пробний урок без реєстрації →
У цьому уроці
Grounding with Google SearchAnalyst Agent SetupStreaming the ReportSources and CitationsPricing and LimitsMore Tools for ReportsПрактикаГотовий промптКвіз
КурсиКурси з LLMДля командТарифиПитання та відповідіБлогПро насКонфіденційність
© 2026 AcademlРозробка та просування сайтів —MMIX — Marketing Mix
Почати безкоштовно