Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Comfyui-Easy-RAG > EasyRAG - Document Loader

ComfyUI Node: EasyRAG - Document Loader

Class Name

RagPromptDocumentLoader

Category
RagPrompt
Author
nregret (Account age: 206days)
Extension
Comfyui-Easy-RAG
Latest Updated
2026-06-03
Github Stars
0.05K

How to Install Comfyui-Easy-RAG

Install this extension via the ComfyUI Manager by searching for Comfyui-Easy-RAG
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui-Easy-RAG in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

EasyRAG - Document Loader Description

Facilitates loading and processing various document types for AI workflows, ensuring correct formatting and preparation.

EasyRAG - Document Loader:

The RagPromptDocumentLoader is a node designed to facilitate the loading and processing of various document types, such as text, JSON, markdown, and PDF files, into a format suitable for further analysis or integration into AI workflows. This node is particularly beneficial for users who need to incorporate external textual data into their AI models, enabling seamless document handling and preparation. By leveraging this node, you can efficiently manage document inputs, ensuring they are correctly formatted and ready for subsequent processing stages. The primary goal of the RagPromptDocumentLoader is to streamline the document loading process, making it accessible and straightforward for users without requiring deep technical expertise.

EasyRAG - Document Loader Input Parameters:

document

The document parameter is a required input that specifies the document you wish to load. It allows you to select a document from a predefined list or upload a new one, supporting formats such as txt, json, md, and pdf. This parameter is crucial as it determines the source of the data that will be processed by the node. There are no explicit minimum or maximum values, but the document must be in one of the supported formats to be valid.

EasyRAG - Document Loader Output Parameters:

RAG_DOCUMENTS

The RAG_DOCUMENTS output provides a structured representation of the loaded documents. This output is essential for further processing or analysis within your AI workflow, as it ensures that the document data is correctly formatted and accessible for subsequent nodes or operations.

STRING

The STRING output delivers a summary of the document loading process, including any errors encountered. This output is valuable for understanding the success or failure of the document loading operation, providing insights into potential issues that may need to be addressed.

EasyRAG - Document Loader Usage Tips:

  • Ensure that your documents are in one of the supported formats (txt, json, md, pdf) before attempting to load them with this node to avoid compatibility issues.
  • Regularly check the summary output to identify any errors or issues during the document loading process, allowing you to make necessary adjustments promptly.

EasyRAG - Document Loader Common Errors and Solutions:

Invalid document: <document_name>

  • Explanation: This error occurs when the specified document does not exist in the expected location or is not accessible.
  • Solution: Verify that the document path is correct and that the file is available in the specified directory.

Unsupported file type

  • Explanation: This error indicates that the document format is not supported by the node.
  • Solution: Convert the document to a supported format (txt, json, md, pdf) and try loading it again.

Please select or upload a document in the document field (txt/json/md/pdf).

  • Explanation: This message appears when no document has been selected or uploaded for processing.
  • Solution: Ensure that you have selected a document from the list or uploaded a new one before proceeding with the node execution.

EasyRAG - Document Loader Related Nodes

Go back to the extension to check out more related nodes.
Comfyui-Easy-RAG
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

EasyRAG - Document Loader