๐Ÿ“– Chat with PDF / MD / text files using GraphRAG (no vector store needed)

โšก 5,249 views ยท ๐Ÿ“– Internal Wiki & Knowledge Base

Description

Set up a chat with your documents without the complex vector store setup.

This templates helps you

The knowledge base is provided using the InfraNodus GraphRAG with the knowledge graphs offering high-quality responses without the need to set up complex RAG vector store workflows.

The advantages of using GraphRAG instead of the standard vector stores for knowledge are:

InfraNodus knowledge graph

How it works

This template uses the InfraNodus knowledge graph as a knowledge base for your n8n AI agent node.

The knowledge graph contains the documents you can upload using this template from your Google Drive.

When the user asks a question via the chat interface, the agent forwards this question to the InfraNodus knowledge graph, retrieves a response, a summary, and a list of matching statements (based advanced Graph RAG), then delivers the final response back the user.

Hereโ€™s a description step by step:

Step 1: Upload your documents

InfraNodus graph knowledge base

Note: you can replace the PDF to Text convertor node with a better quality PDF convertor from ConvertAPI which respects the original file layout and doesnโ€™t split text into small chunks

Step 2: Chat with your documents

How to use

You need an InfraNodus GraphRAG API account and key to use this workflow.

Requirements

Customizing this workflow

You can customize this workflow by adding several experts to your AI agent.

Check out the complete guide at https://support.noduslabs.com/hc/en-us/articles/20174217658396-Using-InfraNodus-Knowledge-Graphs-as-Experts-for-AI-Chatbot-Agents-in-n8n

Also check out the video tutorial with a demo:

Video tutorial

For support and feedback, please, contact us at https://support.noduslabs.com

To learn more about InfraNodus: https://infranodus.com

๐Ÿ”— Nodes Used

HTTP Request, Google Drive, AI Agent, OpenAI Chat Model, Simple Memory, Extract from File

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup