Templates / Build an on-premises AI Kaggle competition assistant with Qdrant RAG and Ollama

Build an on-premises AI Kaggle competition assistant with Qdrant RAG and Ollama

Needs changes

by JHH · 5,193 views · created 2025-05-10 · Engineering, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 21 nodes and runs on Local File events (add) (plus 1 other trigger). Along the way it connects Qdrant Vector Store, Embeddings Ollama, Ollama Model and Vector Store Question Answer and 1 more.

How it runs

Trigger: On Local File events (add) (plus 1 other trigger).

  1. Settings (Edit Fields (Set)): sets 2 fields: path, filename
  2. AI Agent: runs an AI agent, with model: Ollama Chat Model; 1 tool (Vector Store Tool); memory: Window Buffer Memory
  3. Import File (Read/Write Files from Disk): reads a file from disk
  4. Get FileType (Switch): routes items into 1 branches
  5. Extract from TEXT (Extract from File): extracts data from a file (text)
  6. Markdown: converts between Markdown and HTML
  7. Summarization Chain: summarizes text with AI, with model: Ollama Summarizer
  8. Merge: merges the data from its input branches
  9. Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings Ollama; document loader: Default Data Loader

Services it uses

Qdrant Vector StoreEmbeddings OllamaOllama ModelVector Store Question AnswerOllama Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (18)

From the author

LLM/RAG Kaggle Development Assistant An on-premises, domain-specific AI assistant for Kaggle (tested on binary disaster-tweet classification), combining LLM, an n8n workflow engine, and Qdrant-backed Retrieval-Augmented Generation (RAG). Deploy via…

Excerpt from JHH's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.