langchain/tests/integration_tests/document_loaders
Matt Robinson 0498dad562
feat: enable UnstructuredEmailLoader to process attachments (#6977)
### Summary

Updates `UnstructuredEmailLoader` so that it can process attachments in
addition to the e-mail content. The loader will process attachments if
the `process_attachments` kwarg is passed when the loader is
instantiated.

### Testing

```python

file_path = "fake-email-attachment.eml"
loader = UnstructuredEmailLoader(
    file_path, mode="elements", process_attachments=True
)
docs = loader.load()
docs[-1]
```

### Reviewers

-  @rlancemartin 
-  @eyurtsev
- @hwchase17
2023-07-01 06:09:26 -07:00
..
parsers feat (documents): add a source code loader based on AST manipulation (#6486) 2023-06-27 15:58:47 -07:00
__init__.py
test_arxiv.py
test_bigquery.py
test_bilibili.py
test_blockchain.py
test_confluence.py
test_csv_loader.py feat: Add UnstructuredCSVLoader for CSV files (#5844) 2023-06-07 19:18:01 -07:00
test_dataframe.py
test_duckdb.py
test_email.py feat: enable UnstructuredEmailLoader to process attachments (#6977) 2023-07-01 06:09:26 -07:00
test_embaas.py Add embaas document extraction api endpoints (#6048) 2023-06-12 19:13:52 -07:00
test_excel.py feat: add UnstructuredExcelLoader for .xlsx and .xls files (#5617) 2023-06-03 12:44:12 -07:00
test_facebook_chat.py
test_fauna.py Harrison/fauna loader (#5864) 2023-06-07 21:32:23 -07:00
test_figma.py
test_gitbook.py
test_github.py DocumentLoader for GitHub (#5408) 2023-05-29 20:11:21 -07:00
test_ifixit.py
test_joplin.py Add Joplin document loader (#5153) 2023-05-24 12:31:55 -07:00
test_json_loader.py
test_language.py feat (documents): add a source code loader based on AST manipulation (#6486) 2023-06-27 15:58:47 -07:00
test_larksuite.py feat (documents): add LarkSuite document loader (#6420) 2023-06-27 23:08:05 -07:00
test_mastodon.py Add Mastodon toots loader (#5036) 2023-05-22 16:43:07 -07:00
test_max_compute.py add maxcompute (#5533) 2023-06-01 00:54:42 -07:00
test_modern_treasury.py
test_odt.py
test_org_mode.py feat: Add UnstructuredOrgModeLoader (#6842) 2023-06-27 16:34:17 -07:00
test_pdf.py Harrison/unstructured page number (#6464) 2023-06-19 22:31:43 -07:00
test_pyspark_dataframe_loader.py Harrison/spark reader (#5405) 2023-05-29 20:23:17 -07:00
test_python.py
test_rst.py feat: Add UnstructuredRSTLoader (#6594) 2023-06-25 12:41:57 -07:00
test_sitemap.py
test_slack.py
test_spreedly.py
test_stripe.py
test_unstructured.py
test_url_playwright.py
test_url.py
test_whatsapp_chat.py Fix WhatsAppChatLoader : Enable parsing additional formats (#6663) 2023-06-25 12:08:43 -07:00
test_xml.py feat: Add UnstructuredXMLLoader for .xml files (#5955) 2023-06-10 16:24:42 -07:00