Bibliothek / RAG & Wissensdatenbanken
RAG & Wissensdatenbanken
n8n-Dokumentations-Experten-Bot mit Gemini RAG und Supabase
Nach Zeitplan oder bei manuellem Start lädt der Workflow die offizielle n8n-Dokumentation mit Gemini-Embeddings in Supabase, sodass ein Gemini-Agent Fragen dazu beantworten kann.
Was sie bewirkt
-- Enable the pgvector extension to work with embedding vectors (REMOVE THIS LINE IF ALREADY ENABLED) create extension vector; -- Create a table to store your documents create table documents ( id bigserial primary key, content text, -- corresponds to Document.pageContent metadata jsonb, -- corresponds to Document.metadata embedding vector(768) -- 768 works for Gemini embeddings, CHANGE IF OPENAI EMBEDDINGS ); -- Create a function to search for documents create function match_documents ( query_embedding vector(1536), match_count int default null, filter jsonb DEFAULT '{}' ) returns table ( id bigint, content text, metadata jsonb, similarity float ) language plpgsql as $$ #variable_conflict use_column begin return query select id, content, metadata, 1 - (documents.embedding query_embedding) as similarity from documents where metadata @> filter order by documents.embedding query_embedding limit match_count; end; $$;
Die Schritte
- Simple Memory
- Official n8n Documentation
- Default Data Loader
- Recursive Character Text Splitter
- Remove Duplicate Documentation Content
- Only Keep Doc Paths
- Clean Documentation
- Gemini 2.5 Flash
- Your Supabase Vector Store
- Get All n8n Documentation Links
- Extract Links from HTML
- Split Out Links
- Remove Duplicate Links
- Add Documentation Page to Vector Store
Insgesamt 25 Schritte.
Ähnliche Automatisierungen
RAG & WissensdatenbankenTelegram-Dokumentenassistent mit Gemini und Supabase25 SchritteRAG & WissensdatenbankenRekursives Hybrid-RAG für Google-Drive-Dateien mit Supabase23 SchritteChatbots & Messaging-BotsTelegram-Bot mit Supabase-Gedächtnis und OpenAI-Assistent10 SchritteRAG & WissensdatenbankenGoogle-Drive-RAG-Chatbot mit Supabase, OpenAI und Gemini27 Schritte