This workflow automates the creation and management of a Retrieval-Augmented Generation (RAG) system using Qdrant as a vector store and Google Drive as the document source. It enables full or incremental updates to documents in the Qdrant vector database and integrates with a chatbot using Google Gemini for question answering.
Here is a clear and professional description in English of the n8n workflow “Create a RAG with Qdrant and update single files”, including its benefits:
Efficient RAG Setup
Seamlessly integrates OpenAI, Qdrant, and Google Drive to create a scalable RAG pipeline.
Single File Update
You can replace the vector representation of a single file without reprocessing the entire collection—ideal for maintaining document freshness.
Flexible File Source
Works with Google Drive, allowing document management and updates from a familiar interface.
This workflow is designed to create a Retrieval-Augmented Generation (RAG) system using Qdrant as a vector store and Google Drive as a document source. It consists of four main phases:
Collection Setup:
Document Processing:
Single-File Update:
RAG Querying:
Configure Qdrant:
QDRANTURL
and COLLECTION
in the "Create collection" and "Clear collection" HTTP nodes.Google Drive Integration:
OpenAI and Gemini Keys:
Single-File Update:
file_id
in the "Edit Fields3" node to target a specific Google Drive file for updates.Testing:
Contact me for consulting and support or add me on Linkedin.