Back to Templates
See llms.txt for all machine-readable content.
This workflow implements a Retrieval Augmented Generation (RAG) chatbot that answers employee questions based on company documents stored in Google Drive. It automatically indexes new or updated documents in a Pinecone vector database, allowing the chatbot to provide accurate and up-to-date information. The workflow uses Google's Gemini AI for both embeddings and response generation.
The workflow uses two Google Drive Trigger nodes: one for detecting new files added to a specified Google Drive folder, and another for detecting file updates in that same folder.
Google Drive node downloads the file.Default Data Loader node loads the document content.Recursive Character Text Splitter node breaks the document into smaller text chunks.Pinecone Vector Store node indexes the text chunks and their embeddings in a specified Pinecone index.AI Agent node uses a Vector Store Tool node, linked to a Pinecone Vector Store node in query mode, to retrieve relevant text chunks from Pinecone based on the user's question.Google Gemini Chat Model generates a comprehensive and informative answer based on the retrieved documents.Window Buffer Memory node connected to the AI Agent provides short-term memory, allowing for more natural and context-aware conversations.