Aan de slagGa gratis aan de slag

Talking facts: Connecting to a knowledge base

Deze oefening maakt deel uit van de cursus

Building AI Agents with Google ADK

Cursus bekijken

Oefeninstructies

Give your agent real-world skills! Teach the agent how to answer FAQ-style questions using an LLM-powered function tool:

  • Define the lookup_faq() function.
  • Wrap your custom function using FunctionTool().
  • Add the wrapped tool to the agent.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen