Folder with Files
Overview
The Folder with Files feature in AnswerAI allows you to load and process multiple documents from a specified folder on your system. This powerful tool supports various file formats and provides options for recursive folder scanning, text splitting, and metadata management.
Key Benefits
- Load multiple files of different formats from a single folder
- Customize document processing with text splitters and metadata options
- Support for recursive folder scanning to process nested directories
How to Use
-
In the AnswerAI interface, locate and select the "Folder with Files" option from the Document Loaders category.
-
Configure the following required settings:
- Folder Path: Enter the full path to the folder containing your documents.
- Recursive: Choose whether to include files from subfolders (true) or only the specified folder (false).
-
(Optional) Configure additional settings:
- Text Splitter: Select a text splitter to break down large documents into smaller chunks.
- PDF Usage: Choose how to process PDF files (one document per page or per file).
- Additional Metadata: Add extra metadata to the extracted documents in JSON format.
- Omit Metadata Keys: Specify metadata keys to exclude from the final output.
-
Connect the Folder with Files node to other nodes in your AnswerAI workflow as needed.
-
Run your workflow to process the documents from the specified folder.