Skip to main content

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

Workflow preview

Workflow preview
100%
Build an on-premises AI Kaggle competition assistant with Qdrant RAG and Ollama preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 back...

Best for

  • Engineering automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.localfiletrigger, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.switch, n8n-nodes-base.readwritefile, n8n-nodes-base.extractfromfile

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by JHH.

Original n8n.io source

1.1 Workflow description

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

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 containerized starter kit. Needs high end GPU support or patience. Initial chat should contain guidelines on what to to produce and the challenge guidelines.

Features

  • Coding Assistance
    • "Real"-time Python code recommendations, debugging help, and data-science best practices
    • Multi-turn conversational context
  • Workflow Automation
    • n8n orchestration for LLM calls, document ingestion, and external API integrations
  • Retrieval-Augmented Generation (RAG)
    • Qdrant vector-database for competition-specific document lookup
    • On-demand retrieval of Kaggle competition guidelines, tutorials, and notebooks after convertion to HTML and ingestion into RAG
  • entirly On-Premises for Privacy
    • Locally hosted LLM (via Ollama) – no external code or data transfer

ALIENTELLIGENCE/contentsummarizer:latest for summarizing qwen3:8b for chat and coding mxbai-embed-large:latest for embedding

• GPU acceleration required

Based on: https://n8n.io/workflows/2339 breakdown documents into study notes using templating mistralai and qdrant/

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Local File Trigger

Type / Role
n8n-nodes-base.localFileTrigger - localFileTrigger
Config choices
Version 1

Block 2 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1

Block 3 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 4 - Settings

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 5 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 6 - Get FileType

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 7 - Import File

Type / Role
n8n-nodes-base.readWriteFile - readWriteFile
Config choices
Version 1

Block 8 - Extract from TEXT

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 9 - Summarization Chain

Type / Role
@n8n/n8n-nodes-langchain.chainSummarization - chainSummarization
Config choices
Version 2

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Qdrant Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1

Block 13 - Markdown

Type / Role
n8n-nodes-base.markdown - markdown
Config choices
Version 1

Block 14 - Embeddings Ollama

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOllama - embeddingsOllama
Config choices
Version 1

Block 15 - Ollama Summarizer

Type / Role
@n8n/n8n-nodes-langchain.lmOllama - lmOllama
Config choices
Version 1

Block 16 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 17 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 18 - Vector Store Tool

Type / Role
@n8n/n8n-nodes-langchain.toolVectorStore - toolVectorStore
Config choices
Version 1

Block 19 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 20 - Qdrant Vector Store2

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1

Block 21 - Ollama Chat Model3

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 22 - Embeddings Ollama2

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOllama - embeddingsOllama
Config choices
Version 1

Block 23 - Ollama Chat Model4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

3. Summary Table

Workflow Build an on-premises AI Kaggle competition assistant with Qdrant RAG and Ollama
Complexity advanced
Nodes 23
Categories Engineering, AI RAG
Author JHH
Published 10 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3967/3967.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Build an on-premises AI Kaggle competition assistant with Qdrant RAG and Ollama do?

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 back...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.