How to set up Supabase + Postgres for RAG Agents with memory

26 Mar 2025 · 13 min
12:51

Rory Ridgers walks through setting up Supabase and Postgres in n8n to store chat history and document embeddings for RAG agents. He creates a Postgres table for messages, configures a vector store with OpenAI embeddings, uploads files through a chat widget with a 1,000-character chunk size, and queries the stored documents from an AI agent.

Chapters

More from Rory

15:16
youtube.com

This New INSANE Cold Email Method books 50+ calls per month for my AI agency

3mo ago
youtube.com

These 6 Claude Code Skills save me $2,000/m

4mo ago
youtube.com

Claude Code can now create 100s of winning meta ads (in 9 mins)

4mo ago
youtube.com

Dynamic Workflows are crazy. This is how to actually use them (beginner's guide)

4mo ago
youtube.com

Claude Code + Higgsfield = 24/7 content machine

4mo ago
youtube.com

I put Claude Code in Telegram, and it runs my business 24/7 (setup guide)

4mo ago
youtube.com

How I turned Reddit into a 24/7 lead machine with Claude Code

5mo ago
youtube.com

I used Claude Code to replace my entire sales funnel (free template)

5mo ago
youtube.com

How I Automate 80% of my Social Media Content with Claude Code

5mo ago
youtube.com

How I Automate 80% of my Sales Admin with Claude Code

6mo ago
youtube.com

How to scrape ANYTHING using Claude Code

6mo ago
See all content