Aan de slagGa gratis aan de slag

Agent toolbox: Wikipedia tool

Deze oefening maakt deel uit van de cursus

Multi-Agent Systems with LangGraph

Cursus bekijken

Oefeninstructies

Make sure to first run the cell to install the libraries

  • Create a tool called wikipedia_tool() that searches Wikipedia using the query argument, collects an eight-sentence summary of the top result, and returns the summary as a string.
  • Invoke the tool on "Apple Inc." to test that it works.


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