added Wikipedia document loader (#4141)

- Added the `Wikipedia` document loader. It is based on the existing
`unilities/WikipediaAPIWrapper`
- Added a respective ut-s and example notebook
- Sorted list of classes in __init__
This commit is contained in:
Leonid Ganeline
2023-05-06 09:32:45 -07:00
committed by GitHub
parent 423f497168
commit 9544b30821
8 changed files with 379 additions and 125 deletions

View File

@@ -17,7 +17,7 @@ class WikipediaQueryRun(BaseTool):
description = (
"A wrapper around Wikipedia. "
"Useful for when you need to answer general questions about "
"people, places, companies, historical events, or other subjects. "
"people, places, companies, facts, historical events, or other subjects. "
"Input should be a search query."
)
api_wrapper: WikipediaAPIWrapper