This RAG AI Agent with n8n + Supabase is the Real Deal

preview_player
Показать описание
Artificial Intelligence is no doubt the future of not just software development but the whole world. And I'm on a mission to master it - focusing first on mastering AI Agents.

In this video I show how to implement an AI Agent with RAG using n8n and Supabase for the chat memory and vector DB. This AI Agent is the REAL deal - something you could actually use in production and not some dinky n8n workflow using buffer memory and an in-memory vector store that duplicates your vectors every time you insert a document again to update it. I see way too much of that on YouTube so I had to create this to show what an n8n RAG agent should look like.

00:00 - Introduction to RAG AI Agent
01:25 - Demonstration of RAG AI Agent
04:03 - Setting Up Supabase
06:33 - Workflow Execution in n8n
09:55 - Managing Document Updates
14:35 - Finalizing the RAG AI Agent

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The n8n workflow for this RAG AI Agent can be downloaded here so you can import it into your own n8n instance:

If you want to deploy your own n8n instance for free (all you need to pay for is the server to host it), follow these instructions to self-host n8n super easily with DigitalOcean (n8n documentation):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Join me as I push the limits of what is possible with AI. I'll be uploading videos twice a week - Sundays and Wednesdays at 7:00 PM CDT!
Рекомендации по теме
Комментарии
Автор

Thank you for this video. I've been going through all these n8n tutorials on YouTube, and this one nailed the exact 'yeah, but' gaps I had when trying to put everything together. The memory storage, the data garbage collection—nobody else seems to go over these details, probably because they're trying to sell services to "figure this out" for you. Really appreciate you putting this info out there for everyone. You just earned a sub!

beatthetar
Автор

Cole, your n8n tutorials are absolutely fantastic! I've learned so much from your videos. You break down complex concepts into easy-to-understand steps, and your explanations are crystal clear. Keep up the awesome work!

freewayth
Автор

This integration of RAG AI Agents with platforms like n8n and Supabase is indeed a game changer! I love how it streamlines complex processes into manageable workflows.

mahiaravaarava
Автор

Simply Amazing Brother, Thank you sooo much! And of course, it will be great to see more content related to RAG implementations using this setup.

tutorialmasterbrasil
Автор

Amazing video Cole. This video is in a different league to the vast majority of other so called content creators who are more about getting clicks for headlines. They nearly ALWAYS show workflows that are missing the small details needed to create a real-world production ready agent. Subbed and liked. Looking forward to future content from you.

pumpituphomeboy
Автор

Amazing content, man! Appreciate it very much.

Just a tip for a problem I found: if the document is large enough to add more than one chunk to the vector store, when updated, the node that deletes these chunks returns more than one object, which causes to duplicate (or triplicate, and so on) items from this point forward on the automation.

A quick fix is adding an aggregate node after the node that deletes the old docs from the vector store.

arthurbaggio
Автор

I discovered this channel (or gold mine) quite late and now binge watching it!! Thank you for all the value you provide!!!

victorysri
Автор

Totally agree on channels not talking about keeping their databases duplicate free. Thanks for showing.

michael_guiao
Автор

I was sceptic first, as like you say: many people just talk and do not actually teach. Blessings for you and this channel. Ff you keep that up you will be successful. This was a good and clear explanation.

blossom_rx
Автор

You are priceless my friend. I am letting everyone I know, know about your channel. Your videos are concise, thoughtful and your enthusiasm is inspiring!!

X-two-j
Автор

Your tutorial are definitely better compared to others I've seen especially with supabase vector table maintenance in general. Thanks

kelv
Автор

Perfect video my brother. I'm part of a large community here in Brazil and I will recommend it to colleagues. The video is so good that with my intermediate English, I was able to understand it perfectly. Thank you for this content!

PauloRicardodeSouza-fr
Автор

Man i just discovered your content. You are a gem :) Thanks. I've work and test some things in n8n few years ago, but it's great to see what it can be done RN.

mtofani
Автор

Blimey, this is a great tutorial. I’ve seen a couple of others on the same topic but I like the simplicity of yours. I’ll definitely give it a go!

TomWhi
Автор

Another thing I learned from your video is this: N8N has its own chatbot building system. I used Flowise for that. For me it would be interesting to see a video explaining the differences (and similarities) between N8N and Flowise in regards to AI agent/chatbot functionalities.
Thanks again for the top-notch content!

alex_vis_
Автор

oh my days dude you have really REALLY sorted me out with this vid. So grateful.

thcodefather
Автор

Thank, Thank you and Thank you Cole. This has been the missing piece for a while in my homelab. Coffee on me today!

truthontech
Автор

Super high quality content. Unlike the rest, this really helped. Thanks for sharing.

unitedweb
Автор

15:02 Thank you for the great tutorial! Definitely keep it up. In case it helps you as an educator, the Document Loader Options (15:02) were vital for the success of the tutorial, but you went past them so fast I didn't realize they were there! In any case, I learned a ton from investigating that myself, and from the tutorial in general. Again, thank you!

eeen
Автор

brother, you are the best of all Youtuber about this n8n

DatNguyen-brqd
visit shbcf.ru