Supabase Postgres Vector DB Crash Course

Supabase Postgres Vector DB Crash Course

H
1 Video View·Feb 17, 2025

🤖 Download the Source Code Here:
https://brandonhancock.io/superbase-vector-store-crash-course

Don't forget to Like and Subscribe if you're a fan of free source code 😉

📆 Need help with CrewAI, join our FREE Skool Community:
https://skool.com/ai-developer-accelerator/about

📣 New Premium Fullstack AI Course:
By the way, I just launched my new Fullstack AI Marketing Platform course! It’s all about building real-world AI apps that automate marketing workflows for creators using NextJS, Vercel AI SDK, and more. The course also comes with live group support every Sunday between now and the middle of November!

https://www.skool.com/ai-developer-accelerator/classroom

In this crash course, I guide you through creating a free vector store in Superbase, saving data and embeddings, and using RAG to chat with your data. By the end of this video, you'll have built a mini full-stack application that allows you to save emails to this vector store and chat with all your previous emails. I'll walk you through setting up a Superbase project, creating a Next.js project, and integrating OpenAI for embeddings. Plus, all the source code is available for free!

📰 Stay updated with my latest projects and insights:
LinkedIn: https://www.linkedin.com/in/brandon-hancock-ai/
Twitter: https://twitter.com/bhancock_ai

Resources mentioned in video:
- Supabase: https://supabase.com/
- Supabase Indexes: https://supabase.com/docs/guides/ai/vector-indexes
- Create a NextJS Supabase Project: https://supabase.com/docs/guides/getting-started/quickstarts/nextjs
- Supabase Insert Data: https://supabase.com/docs/reference/javascript/insert

Checkout my other tutorials:
LangChain Tutorial - https://youtu.be/yF9kGESAi3M
CrewAI Tutorial: Complete Crash Course for Beginners - https://youtu.be/sPzc6hMg7So
CrewAI Tutorial for Beginners: Learn How To Use Latest CrewAI Features - https://youtu.be/Jl6BuoXcZPE
How To Connect Llama3 to CrewAI [Groq + Ollama] - https://youtu.be/02cdCd43Ccc

Timestamps:
00:00:00 Introduction
00:00:34 Overview
00:03:51 Phase 1 - Setup Supabase Account
00:06:53 Phase 2 - Create Database with Vector Store Support
00:21:49 Phase 3 - Create NextJS App to Store Emails
00:50:00 Phase 4 - Update NextJS App to Chat with Emails
01:03:17 Complete App Working Example
01:06:33 Outro