Local Chatbot with Retrieval Augmented Generation (RAG)
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 Run the Chatbot and start asking questions about the documents you uploaded 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 chunk
Rank
84
Safety
80
Updated
May 26, 2026
Source
n8n
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 5/26/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/snapshot"
Documentation
n8n
782 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "N8n",
"category": "vendor",
"href": "https://n8n.io/workflows/5148-local-chatbot-with-retrieval-augmented-generation-rag/",
"sourceUrl": "https://n8n.io/workflows/5148-local-chatbot-with-retrieval-augmented-generation-rag/",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-26T06:45:45.310Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": []
}Record generated Oct 8, 2026.
