{"id":"f68932b3-746d-4c92-bb82-c7b4708c46b5","entityType":"agent","slug":"n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag","name":"Local Chatbot with Retrieval Augmented Generation (RAG)","canonicalUrl":"https://www.xpersona.co/agent/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag","canonicalPath":"/agent/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag","generatedAt":"2026-10-09T01:53:30.995Z","source":"N8N_TEMPLATES","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":null},"description":"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","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 5/22/2026.","installCommand":null,"sourceUrl":"https://n8n.io/workflows/5148-local-chatbot-with-retrieval-augmented-generation-rag/","homepage":"https://n8n.io/workflows/5148-local-chatbot-with-retrieval-augmented-generation-rag/","primaryLinks":[{"label":"View on n8n","url":"https://n8n.io/workflows/5148-local-chatbot-with-retrieval-augmented-generation-rag/","kind":"source"}],"safetyScore":80,"overallRank":84,"popularityScore":100,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"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 vie"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":null},"protocols":[],"capabilities":[{"label":"workflow","status":"self-declared"},{"label":"automation","status":"self-declared"},{"label":"ai agent","status":"self-declared"},{"label":"chatbot","status":"self-declared"},{"label":"documents","status":"self-declared"},{"label":"agent","status":"self-declared"},{"label":"AI","status":"self-declared"},{"label":"Langchain","status":"self-declared"},{"label":"Ollama Chat Model","status":"self-declared"},{"label":"lmChatOllama","status":"self-declared"},{"label":"Simple Memory","status":"self-declared"},{"label":"memoryBufferWindow","status":"self-declared"},{"label":"Recursive Character Text Splitter","status":"self-declared"},{"label":"textSplitterRecursiveCharacterTextSplitter","status":"self-declared"},{"label":"Default Data Loader","status":"self-declared"},{"label":"documentDefaultDataLoader","status":"self-declared"},{"label":"Qdrant Vector Store","status":"self-declared"},{"label":"vectorStoreQdrant","status":"self-declared"},{"label":"Embeddings Ollama","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":19,"capabilityMatrix":{"rows":[{"key":"workflow","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"automation","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"ai agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"chatbot","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"documents","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"AI","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Langchain","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Ollama Chat Model","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"lmChatOllama","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Simple Memory","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"memoryBufferWindow","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Recursive Character Text Splitter","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"textSplitterRecursiveCharacterTextSplitter","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Default Data Loader","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"documentDefaultDataLoader","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Qdrant Vector Store","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"vectorStoreQdrant","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"Embeddings Ollama","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"capability:workflow|supported|profile capability:automation|supported|profile capability:ai agent|supported|profile capability:chatbot|supported|profile capability:documents|supported|profile capability:agent|supported|profile capability:AI|supported|profile capability:Langchain|supported|profile capability:Ollama Chat Model|supported|profile capability:lmChatOllama|supported|profile capability:Simple Memory|supported|profile capability:memoryBufferWindow|supported|profile capability:Recursive Character Text Splitter|supported|profile capability:textSplitterRecursiveCharacterTextSplitter|supported|profile capability:Default Data Loader|supported|profile capability:documentDefaultDataLoader|supported|profile capability:Qdrant Vector Store|supported|profile capability:vectorStoreQdrant|supported|profile capability:Embeddings Ollama|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-05-22T06:53:57.850Z","emptyReason":null},"lastUpdatedAt":"2026-05-22T06:53:57.851Z","lastCrawledAt":"2026-05-22T06:53:57.850Z","lastIndexedAt":null,"nextCrawlAt":"2026-05-24T06:53:57.850Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"n8n","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":null,"setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":[]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"N8N_TEMPLATES","generatedAt":"2026-10-09T01:53:30.995Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/n8n-5148-local-chatbot-with-retrieval-augmented-generation-rag/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"n8n","verified":false,"confidence":"high","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":null},"readme":"Build a 100% local RAG with n8n, Ollama and Qdrant. This agent uses a semantic database (Qdrant) to answer questions about PDF files.\n\nTutorial\n\nClick here to view the YouTube Tutorial\n\nHow it works\nBuild 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.\n\nInstallation\nInstall n8n + Ollama + Qdrant using the Self-hosted AI starter kit\nMake sure to install Llama 3.2 and mxbai-embed-large as embeddings model.\n\nHow to use it\nFirst run the \"Data Ingestion\" part and upload as many PDF files as you want\nRun the Chatbot and start asking questions about the documents you uploaded\n","readmeExcerpt":"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","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":[],"docsSourceLabel":"n8n","editorialOverview":"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","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":563,"uniquenessScore":50,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-05-22T06:53:57.851Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"agent-directory","verified":false,"confidence":"low","updatedAt":"2026-10-09T01:53:30.995Z","emptyReason":"No close protocol neighbors were found."},"items":[],"links":{"hub":"/agent","source":"/agent/source/n8n_templates","protocols":[]}}}