This advanced n8n workflow implements an Adaptive Retrieval-Augmented Generation (RAG) system designed for dynamic and context-aware information retrieval. It intelligently classifies user queries into four categories: Factual, Analytical, Opinion, and Contextual, then employs tailored strategies for each category to fetch relevant content from a vector database (Qdrant) using Google Gemini models. The workflow uses a series of nodes, including classification, strategy selection, document retrieval, context concatenation, and response generation, ensuring highly relevant and personalized answers. Practical applications include chatbots, customer support systems, and knowledge management platforms that require nuanced, category-specific responses based on user queries and contextual data.
Adaptive RAG Workflow for Personalized Responses
Node Count | >20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chatTrigger, @n8n/n8n-nodes-langchain.embeddingsGoogleGemini, @n8n/n8n-nodes-langchain.lmChatGoogleGemini, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.vectorStoreQdrant, executeWorkflowTrigger, respondToWebhook, set, stickyNote, summarize, switch |
Reviews
There are no reviews yet.