Zum Inhalt springen
NEUMarktplatz und trig8n Agent: Verkaufen Sie, was Sie bauen, und erhalten Sie Pläne und Änderungen, die getestet sind, bevor Sie sie sehen. Neuigkeiten ansehen

Bibliothek / RAG & Wissensdatenbanken

RAG & Wissensdatenbanken

Zweistufiger Dokumenten-Retrieval-Chatbot mit OpenAI und Supabase

Geht eine Chatnachricht ein, findet der Workflow per Ähnlichkeit in Supabase relevante Dateien und ruft dann deren Inhalt ab, aus dem OpenAI antwortet.

Was sie bewirkt

### Files table create table public.files ( id uuid not null default gen_random_uuid (), name text null, category text null, date_created timestamp with time zone null default (now() AT TIME ZONE 'utc'::text), google_drive_url text null, theme text null, description text null, embedding extensions.vector null, google_drive_id text null, status text null default 'ready'::text, type public.file_type null, video_transcription_url text null, constraint files_pkey primary key (id) ) TABLESPACE pg_default;

Die Schritte

  1. Database retrieval1
  2. When chat message received
  3. OpenAI
  4. GetFile
  5. UpdateEmbedding
  6. OpenAI CreateEmbeddings
  7. When clicking ‘Execute workflow’
  8. Find Files
  9. Filter similarity
  10. Aggregate files
  11. Set Output

Ähnliche Automatisierungen