Templates / Build document RAG system with Kimi-K2, Gemini embeddings and Qdrant

Build document RAG system with Kimi-K2, Gemini embeddings and Qdrant

Unknown

by Jimleuk ✓ · 2,250 views · created 2025-07-28 · Document Extraction, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 25 nodes and runs when a chat message arrives (plus 3 other triggers). Along the way it connects Google Gemini Chat Model, Featherless (community) and Qdrant (community). It also calls generativelanguage.googleapis.com and highwaycodeuk.co.uk over HTTP.

How it runs

Trigger: When a chat message arrives (plus 3 other triggers).

  1. Highway Code Expert (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Highway Code Manual)
  2. Retrieval Vectors with Gemini-Embeddings- (HTTP Request): calls generativelanguage.googleapis.com (POST)
  3. Download Large Document (HTTP Request): calls highwaycodeuk.co.uk
  4. Query Docs from Qdrant Vector Store (Qdrant): query points (search)
  5. Extract from File: extracts data from a file (pdf)
  6. Split Pages (Split Out): splits a list into separate items
  7. Kimi-K2 via Featherless.ai (Featherless): uses Featherless
  8. Get Response (Edit Fields (Set)): sets 4 fields: summary, title, chunk…
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Retrieval Vectors with Gemini Embeddings (HTTP Request): calls generativelanguage.googleapis.com (POST)

…plus 7 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelFeatherless (community)Qdrant (community)

HTTP calls to: generativelanguage.googleapis.com, highwaycodeuk.co.uk

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-featherless is verified or supports 3.0 (used in Kimi-K2 via Featherless.ai, Kimi-K2 via Featherless ai).
  • Check that n8n-nodes-qdrant is verified or supports 3.0 (used in Add Docs To Qdrant Vector Store, Create Collection, Create Summary Index).

Nodes used (16)

From the author

Generating contextual summaries is an token-intensive approach for RAG embeddings which can quickly rack up costs if your inference provider charges by token usage. Featherless.ai is an inference provider with a different pricing model - they charge a flat…

Excerpt from Jimleuk'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.