forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bf3f554357
### Submit Multiple Files to the Unstructured API Enables batching multiple files into a single Unstructured API requests. Support for requests with multiple files was added to both `UnstructuredAPIFileLoader` and `UnstructuredAPIFileIOLoader`. Note that if you submit multiple files in "single" mode, the result will be concatenated into a single document. We recommend using this feature in "elements" mode. ### Testing The following should load both documents, using two of the example docs from the integration tests folder. ```python from langchain.document_loaders import UnstructuredAPIFileLoader file_paths = ["examples/layout-parser-paper.pdf", "examples/whatsapp_chat.txt"] loader = UnstructuredAPIFileLoader( file_paths=file_paths, api_key="FAKE_API_KEY", strategy="fast", mode="elements", ) docs = loader.load() ``` |
1 year ago | |
---|---|---|
.. | ||
parsers | 1 year ago | |
__init__.py | 2 years ago | |
test_arxiv.py | 1 year ago | |
test_bigquery.py | 2 years ago | |
test_bilibili.py | 1 year ago | |
test_blockchain.py | 1 year ago | |
test_confluence.py | 1 year ago | |
test_dataframe.py | 2 years ago | |
test_duckdb.py | 2 years ago | |
test_email.py | 2 years ago | |
test_facebook_chat.py | 1 year ago | |
test_figma.py | 2 years ago | |
test_gitbook.py | 2 years ago | |
test_ifixit.py | 2 years ago | |
test_json_loader.py | 1 year ago | |
test_modern_treasury.py | 1 year ago | |
test_odt.py | 1 year ago | |
test_pdf.py | 1 year ago | |
test_python.py | 1 year ago | |
test_sitemap.py | 1 year ago | |
test_slack.py | 1 year ago | |
test_spreedly.py | 1 year ago | |
test_stripe.py | 1 year ago | |
test_unstructured.py | 1 year ago | |
test_url.py | 1 year ago | |
test_url_playwright.py | 1 year ago | |
test_whatsapp_chat.py | 1 year ago |