mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +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 |
||
---|---|---|
.. | ||
example_data | ||
airbyte_json.ipynb | ||
apify_dataset.ipynb | ||
azlyrics.ipynb | ||
azure_blob_storage_container.ipynb | ||
azure_blob_storage_file.ipynb | ||
bigquery.ipynb | ||
bilibili.ipynb | ||
blackboard.ipynb | ||
chatgpt_loader.ipynb | ||
college_confidential.ipynb | ||
confluence.ipynb | ||
CoNLL-U.ipynb | ||
copypaste.ipynb | ||
csv.ipynb | ||
dataframe.ipynb | ||
diffbot.ipynb | ||
directory_loader.ipynb | ||
discord_loader.ipynb | ||
duckdb.ipynb | ||
email.ipynb | ||
epub.ipynb | ||
evernote.ipynb | ||
facebook_chat.ipynb | ||
figma.ipynb | ||
gcs_directory.ipynb | ||
gcs_file.ipynb | ||
git.ipynb | ||
gitbook.ipynb | ||
googledrive.ipynb | ||
gutenberg.ipynb | ||
hn.ipynb | ||
html.ipynb | ||
ifixit.ipynb | ||
image_captions.ipynb | ||
image.ipynb | ||
imsdb.ipynb | ||
markdown.ipynb | ||
notebook.ipynb | ||
notion.ipynb | ||
notiondb.ipynb | ||
obsidian.ipynb | ||
pdf.ipynb | ||
powerpoint.ipynb | ||
readthedocs_documentation.ipynb | ||
roam.ipynb | ||
s3_directory.ipynb | ||
s3_file.ipynb | ||
sitemap.ipynb | ||
slack_directory.ipynb | ||
srt.ipynb | ||
telegram.ipynb | ||
twitter.ipynb | ||
unstructured_file.ipynb | ||
url.ipynb | ||
web_base.ipynb | ||
whatsapp_chat.ipynb | ||
word_document.ipynb | ||
youtube.ipynb |