Thanks to Supabase for sponsoring this video! Check out the launch week here: [ Ссылка ]
Enjoying my videos? Sign up for more content here: [ Ссылка ]
In this video we build a Supabase and OpenAI system that allows us to call an API endpoint with a question, and then get an answer based off our own CUSTOM data. Pretty impressive! This is done by using PostgreSQL vector storage, Supabase Edge functions, and OpenAI Embeddings. Even if you're a beginner to using embeddings, this video is a great start into understanding how you can build AI systems with your own custom data!
match_documents code: [ Ссылка ]
initial index.ts code: [ Ссылка ]
FINAL CODE: [ Ссылка ]
I used this blog post as a resource throughout the video: [ Ссылка ]
0:00 Intro
0:38 System discussion / Introduction to embeddings
5:33 Setup Supabase Vector Storage (PostgreSQL)
9:08 Get API keys / Project URL
10:11 Generating embeddings from custom data
18:20 Setting up Supabase edge functions
23:36 Building out API logic (ask-custom-data)
38:15 Calling our API endpoint (Asking questions!)
41:05 Thanks for watching!
Ещё видео!