Automation library · AI assistants

Build an on-premises AI Kaggle competition assistant

Started by someone opening a chat with it, and works across Qdrant. It puts a local model behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 21 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: a local modelRetrieval

21 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 13Logic 4Service 2

The steps in the order they run, from what starts it.

  1. 1Local File TriggerLocal File triggerStarts it
  2. 2Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  3. 3Embeddings OllamaEmbeddings OllamaModel
  4. 4Ollama SummarizerLm OllamaModel
  5. 5When chat message receivedChat triggerStarts it
  6. 6Window Buffer MemoryMemory Buffer WindowModel
  7. 7Ollama Chat Model3Lm Chat OllamaModel
  8. 8Embeddings Ollama2Embeddings OllamaModel
  9. 9Ollama Chat Model4Lm Chat OllamaModel
  10. 10SettingsSetLogic
  11. 11Default Data LoaderDocument Default Data LoaderModel
  12. 12Qdrant Vector StoreVector Store QdrantModel
  13. 13Summarization ChainChain SummarizationModel
  14. 14AI AgentAgentModel
  15. 15Qdrant Vector Store2Vector Store QdrantModel
  16. 16Vector Store ToolTool Vector StoreModel
  17. 17Import FileRead Write FileService
  18. 18MergeMergeLogic
  19. 19Get FileTypeSwitchLogic
  20. 20Extract from TEXTExtract From FileService
  21. 21MarkdownMarkdownLogic

How it's built

Starts on
Someone opening a chat with it
Steps
21, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Qdrant
Model
a local model
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Qdrant account, and a key for a local model. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls a local model. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.