mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
b201cfaa0f
# docs `ecosystem/integrations` update 4 Added missed integrations. Fixed inconsistencies. ## Who can review? @hwchase17 @dev2049
29 lines
721 B
Markdown
29 lines
721 B
Markdown
# 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](../modules/indexes/document_loaders/examples/wikipedia.ipynb).
|
|
|
|
```python
|
|
from langchain.document_loaders import WikipediaLoader
|
|
```
|
|
|
|
## Retriever
|
|
|
|
See a [usage example](../modules/indexes/retrievers/examples/wikipedia.ipynb).
|
|
|
|
```python
|
|
from langchain.retrievers import WikipediaRetriever
|
|
```
|