Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Local Chatbot with Retrieval Augmented Generation (RAG)

n8n template #5148
Build a 100% local RAG with n8n, Ollama and Qdrant. This agent uses a semantic database (Qdrant) to answer questions about PDF files. Tutorial Click here to view the YouTube Tutorial How it works Build a chatbot that answers based on documents you provide it (Retrieval Augmented Generation). You can upload as many PDF files as you want to the Qdrant database. The chatbot will use its retrieval tool to fetch the chunks and use them to answer questions. Installation Install n8n + Ollama + Qdrant using the Self-hosted AI starter kit Make sure to install Llama 3.2 and mxbai-embed-large as embeddings model. How to use it First run the "Data Ingestion" part and upload as many PDF files as you want

Hand off to your agent

Prompt

Help me set up the n8n workflow "Local Chatbot with Retrieval Augmented Generation (RAG)" (https://n8n.io/workflows/5148). It uses: AI Agent, Ollama Chat Model, Simple Memory, Recursive Character Text Splitter, Default Data Loader, Qdrant Vector Store, Embeddings Ollama. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. Build an On-Premises AI Kaggle Competition Assistant with Qdrant RAG and Ollama2,052
  2. Create a Private Document Q&A System with Llama3, Postgres, Qdrant and Google Drive343
  3. Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI9,214
  4. Scale Deal Flow with a Pitch Deck AI Vision, Chatbot and QDrant Vector Store6,822
  5. AI YouTube Playlist & Video Analyst Chatbot2,107
  6. Automated Book Summarization with DeepSeek AI, Qdrant Vector DB & Google Drive472
  7. Building Your First WhatsApp Chatbot332K
  8. RAG Chatbot for Company Documents using Google Drive and Gemini95K
Buy me a coffee