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 - Vector Store Builder (FAISS)

ComfyUI Node: EasyRAG - Vector Store Builder (FAISS)

Class Name

RagPromptVectorStoreBuilder

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 - Vector Store Builder (FAISS) Description

Facilitates creation and management of vector stores for efficient retrieval-augmented generation in AI models.

EasyRAG - Vector Store Builder (FAISS):

The RagPromptVectorStoreBuilder is a powerful node designed to facilitate the creation and management of vector stores using the FAISS library. This node is integral to the EasyRAG framework, enabling efficient retrieval-augmented generation (RAG) by organizing and indexing document embeddings. Its primary function is to build a vector store from a collection of documents, which can then be used to enhance AI models' ability to retrieve relevant information quickly. The node supports both creating new vector stores and utilizing existing ones, providing flexibility in managing your data. By leveraging local embedding models, it ensures that the vector store is tailored to your specific needs, optimizing the retrieval process. The RagPromptVectorStoreBuilder is essential for users looking to enhance their AI models' performance by providing a structured and efficient way to handle large volumes of data.

EasyRAG - Vector Store Builder (FAISS) Input Parameters:

documents

This parameter represents the collection of documents that will be used to build the vector store. It is crucial as it forms the basis of the vector store, and the quality and relevance of these documents directly impact the effectiveness of the retrieval process.

build_mode

The build_mode parameter determines whether a new vector store should be created or an existing one should be used. It offers two options: "create_new" and "use_existing." This choice affects how the node processes the documents and manages the vector store, providing flexibility in data management.

index_list

This parameter allows you to select an existing vector store from a list. It is used when the build_mode is set to "use_existing." If left empty, the node will prompt you to select a vector store, ensuring that the correct data is used for retrieval.

index_name

The index_name parameter is used to specify the name of a new vector store when the build_mode is set to "create_new." If left empty, the node will prompt you to enter a name, ensuring that the new vector store is correctly identified and managed.

embedding_model

This parameter allows you to select a local embedding model to be used for generating document embeddings. The choice of model impacts the quality and specificity of the embeddings, influencing the retrieval accuracy and performance.

chunk_size

The chunk_size parameter defines the size of document chunks in terms of the number of characters. It ranges from 100 to 4000, with a default value of 4000. This setting affects how documents are divided into smaller parts for embedding, impacting the granularity and efficiency of the vector store.

chunk_overlap

This parameter specifies the overlap between consecutive document chunks, ranging from 0 to 2000, with a default value of 0. It influences the continuity and context preservation between chunks, affecting the retrieval process's accuracy.

show_retrieval_log

A boolean parameter that determines whether to display logs during the retrieval process. It is set to True by default, providing transparency and insights into the vector store's operations, which can be useful for debugging and optimization.

unload_embedding_model_after_build

This boolean parameter decides whether to unload the embedding model after building the vector store. It is set to True by default, helping to manage system resources efficiently by freeing up memory once the vector store is built.

EasyRAG - Vector Store Builder (FAISS) Output Parameters:

rag_index

The rag_index output represents the constructed vector store, which is a critical component for retrieval-augmented generation. It serves as the indexed repository of document embeddings, enabling efficient and accurate information retrieval.

summary

The summary output provides a concise overview of the vector store building process, including details such as the index name, the number of documents and chunks processed, the embedding model used, and the storage path. This information is valuable for verifying the process's success and understanding the vector store's composition.

EasyRAG - Vector Store Builder (FAISS) Usage Tips:

  • Ensure that your documents are well-organized and relevant to the task at hand, as the quality of the input data directly affects the vector store's performance.
  • Choose an appropriate embedding model that aligns with your specific use case to optimize the retrieval accuracy and efficiency.
  • Adjust the chunk_size and chunk_overlap parameters to balance between granularity and context preservation, depending on the nature of your documents and the retrieval requirements.

EasyRAG - Vector Store Builder (FAISS) Common Errors and Solutions:

Please select an existing vector store

  • Explanation: This error occurs when the build_mode is set to "use_existing," but no vector store is selected from the index_list.
  • Solution: Ensure that you select a valid vector store from the index_list before proceeding.

Please enter a new vector store name

  • Explanation: This error arises when the build_mode is set to "create_new," but no name is provided in the index_name parameter.
  • Solution: Enter a unique and descriptive name for the new vector store in the index_name field to proceed with the creation process.

EasyRAG - Vector Store Builder (FAISS) 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 - Vector Store Builder (FAISS)