Kütüphane / RAG ve Bilgi Bankaları
RAG ve Bilgi Bankaları
Gemini RAG ve Supabase ile n8n Dokümantasyon Uzmanı Botu
Zamanlanmış olarak veya çalıştırdığınızda bu iş akışı resmi n8n dokümantasyonunu Gemini gömmeleriyle Supabase'e yükler; böylece bir Gemini ajanı onunla ilgili soruları yanıtlayabilir.
Ne yapar
-- 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; $$;
Adımlar
- 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
Toplam 25 adım.
Benzer otomasyonlar
RAG ve Bilgi BankalarıGemini ve Supabase ile Telegram Belge Asistanı25 adımRAG ve Bilgi BankalarıSupabase ile Google Drive Dosyaları için Özyinelemeli Hibrit RAG23 adımRAG ve Bilgi BankalarıSupabase, OpenAI ve Gemini ile Google Drive RAG sohbet botu27 adımRAG ve Bilgi BankalarıClaude RAG ve Supabase ile blog yazılarını otomatik etiketleme11 adım