This n8n workflow enables intelligent document retrieval and question-answering by integrating OpenAI embeddings with a Supabase database. When a chat message is received, the workflow generates a semantic embedding of the query and searches the database for the most relevant files based on vector similarity. It filters results to ensure high relevance, aggregates matching file IDs, and fetches content along with URLs. Designed for use in knowledge management, customer support, or internal documentation, this automation helps users quickly find precise information from large collections of text or PDF files. The workflow also allows easy setup, with options to configure similarity thresholds, match counts, and credentials for seamless integration.
AI-Powered Document Search with Vector Embeddings
Node Count | >20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.chatTrigger, @n8n/n8n-nodes-langchain.openAi, @n8n/n8n-nodes-langchain.toolCode, aggregate, code, filter, httpRequest, manualTrigger, set, stickyNote, supabase |
Reviews
There are no reviews yet.