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 > Prebuilt Document Loader

ComfyUI Node: Prebuilt Document Loader

Class Name

RagPromptPrebuiltLoader

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

Prebuilt Document Loader Description

Specialized node for loading prebuilt documents in EasyRAG framework, streamlining access and integration for AI projects.

Prebuilt Document Loader:

The RagPromptPrebuiltLoader is a specialized node designed to facilitate the loading of prebuilt documents within the EasyRAG framework. Its primary purpose is to streamline the process of accessing and utilizing pre-existing documents or folders, which are stored in specific directories such as rag and models/RAG/Original. This node is particularly beneficial for users who need to quickly integrate prebuilt content into their workflows without the need for manual document handling. By automating the document loading process, the RagPromptPrebuiltLoader enhances efficiency and ensures that users can focus on leveraging the content for their AI-driven projects, such as generating responses or building knowledge bases.

Prebuilt Document Loader Input Parameters:

document

The document parameter allows you to select a prebuilt document or folder from specified directories like rag and models/RAG/Original. This parameter is crucial as it determines which document will be loaded and used by the node. The selection is made from a predefined list, ensuring that only valid and accessible documents are chosen. This parameter does not have minimum, maximum, or default values, as it relies on the available documents in the specified directories. The impact of this parameter is significant, as it directly influences the content that will be processed and utilized by the node.

Prebuilt Document Loader Output Parameters:

RAG_DOCUMENTS

The RAG_DOCUMENTS output provides the loaded documents in a format that can be further processed or used by other nodes within the EasyRAG framework. This output is essential for ensuring that the selected prebuilt documents are correctly integrated into the workflow, allowing for seamless interaction with other components.

STRING

The STRING output offers a summary or status message related to the document loading process. This output is important for providing feedback to the user, indicating whether the document was successfully loaded or if there were any issues that need to be addressed. It helps in understanding the outcome of the node's execution and guides further actions.

Prebuilt Document Loader Usage Tips:

  • Ensure that the document you wish to load is correctly placed in the specified directories (rag or models/RAG/Original) to avoid selection errors.
  • Use the summary output to verify the successful loading of documents and to troubleshoot any issues that may arise during the process.

Prebuilt Document Loader Common Errors and Solutions:

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

  • Explanation: This error occurs when no document is selected for loading, or the selected document is not in the correct format or location.
  • Solution: Verify that the document is available in the specified directories and is in one of the supported formats (txt, json, md, pdf). Ensure that you have selected a document from the list provided by the node.

Prebuilt 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.

Prebuilt Document Loader