Skip to main content
WikipediaTools enable an Agent to search Wikipedia and add its contents to the knowledge base.

Prerequisites

The following example requires the wikipedia and openai libraries.

Example

The following agent will search Wikipedia for “ai” and print the response.
cookbook/91_tools/wikipedia_tools.py

Toolkit Params

Toolkit Functions

Developer Resources