mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
373ad49157
# docs: `ecosystem_integrations` update 3 Next cycle of updating the `ecosystem/integrations` * Added an integration `template` file * Added missed integration files * Fixed several document_loaders/notebooks ## Who can review? Is it possible to assign somebody to review PRs on docs? Thanks.
23 lines
525 B
Markdown
23 lines
525 B
Markdown
# Reddit
|
|
|
|
>[Reddit](www.reddit.com) is an American social news aggregation, content rating, and discussion website.
|
|
|
|
## Installation and Setup
|
|
|
|
First, you need to install a python package.
|
|
|
|
```bash
|
|
pip install praw
|
|
```
|
|
|
|
Make a [Reddit Application](https://www.reddit.com/prefs/apps/) and initialize the loader with with your Reddit API credentials.
|
|
|
|
## Document Loader
|
|
|
|
See a [usage example](../modules/indexes/document_loaders/examples/reddit.ipynb).
|
|
|
|
|
|
```python
|
|
from langchain.document_loaders import RedditPostsLoader
|
|
```
|