mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
a5ad1c270f
This pull request adds a ChatGPT document loader to the document loaders module in `langchain/document_loaders/chatgpt.py`. Additionally, it includes an example Jupyter notebook in `docs/modules/indexes/document_loaders/examples/chatgpt_loader.ipynb` which uses fake sample data based on the original structure of the `conversations.json` file. The following files were added/modified: - `langchain/document_loaders/__init__.py` - `langchain/document_loaders/chatgpt.py` - `docs/modules/indexes/document_loaders/examples/chatgpt_loader.ipynb` - `docs/modules/indexes/document_loaders/examples/example_data/fake_conversations.json` This pull request was made in response to the recent release of ChatGPT data exports by email: https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history |
||
---|---|---|
.. | ||
fake_discord_data | ||
test_repo1@7e525a3b91 | ||
conllu.conllu | ||
facebook_chat.json | ||
fake_conversations.json | ||
fake-content.html | ||
fake-email.eml | ||
fake-email.msg | ||
fake-power-point.pptx | ||
fake.docx | ||
layout-parser-paper.pdf | ||
mlb_teams_2012.csv | ||
notebook.ipynb | ||
telegram.json | ||
testing.enex | ||
whatsapp_chat.txt |