agentchat.contrib.captainagent.tools.information_retrieval
agentchat.contrib.captainagent.tools.information_retrieval.get_wikipedia_text
get_wikipedia_text
Retrieves the text content of a Wikipedia page. It does not support tables and other complex formatting.
Arguments:
title
str - The title of the Wikipedia page.
Returns:
str or None: The text content of the Wikipedia page if it exists, None otherwise.