Agent toolbox: Wikipedia tool
Questo esercizio fa parte del corso
Multi-Agent Systems with LangGraph
Istruzioni dell'esercizio
Make sure to first run the cell to install the libraries
- Create a tool called
wikipedia_tool()that searches Wikipedia using thequeryargument, 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.
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio