langchain/docs/extras/integrations/providers/wikipedia.mdx
2023-07-24 21:20:32 -07:00

29 lines
691 B
Plaintext

# Wikipedia
>[Wikipedia](https://wikipedia.org/) is a multilingual free online encyclopedia written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and using a wiki-based editing system called MediaWiki. `Wikipedia` is the largest and most-read reference work in history.
## Installation and Setup
```bash
pip install wikipedia
```
## Document Loader
See a [usage example](/docs/integrations/document_loaders/wikipedia).
```python
from langchain.document_loaders import WikipediaLoader
```
## Retriever
See a [usage example](/docs/integrations/retrievers/wikipedia).
```python
from langchain.retrievers import WikipediaRetriever
```