S1E3: StreamSaga - Supabase: ACL, Database & Vector Search; Google Antigravity;
Автор: Ali Nuraldin
Загружено: 2025-12-03
Просмотров: 32
Описание:
I'm implementing Vector Search using Supabase and OpenAI to detect duplicate topics in StreamSaga!
In this third episode, I am back to continue building StreamSaga, focusing heavily on backend integration and security. I start by implementing Role-Based Access Control (RBAC) using Supabase metadata and Next.js middleware to ensure our admin panel is properly gated and secure.
Throughout the stream, I navigate some bugs and stability issues with the Google Antigravity AI agent, but we manage to push through and build some really cool features. I implement a "Create Topic" system that updates in real-time, and the highlight of the day is finally getting to work with Vector Search. By integrating OpenAI's embeddings with Supabase's pgvector, I successfully build a feature that detects similar topics effectively preventing duplicates. It was a bit of a struggle, but seeing that similarity percentage pop up at the end was totally worth it!
----
Project repo: https://github.com/Alirun/StreamSaga
Framework repo: https://github.com/Alirun/stream-fram...
----
00:00 Intro & Music
05:18 Welcome & Project Recap (StreamSaga, Supabase, Vector Search)
08:50 Planning: Architecture Consistency & Admin ACL
13:50 Updating AI Rules: Project Architecture & PRD Context
20:47 Planning Admin Role Support & Gating Access
25:40 Debugging Google Antigravity Agent Issues
36:40 Reviewing Admin Middleware & Redirection Logic
44:40 Manually Setting Admin Roles via SQL in Supabase
51:20 Implementing "Create Topic" Feature with Realtime Data
01:04:40 Troubleshooting Supabase CLI Linking & Migrations
01:13:30 Reviewing Database Migrations & RLS Policies
01:19:00 Refactoring: Abstracting Business Logic into Services
01:32:00 Testing Topic Creation & Supabase Realtime Updates
01:41:40 Implementing Embeddings with OpenAI API
01:51:00 Building Vector Search for "Similar Topics" Detection
02:00:00 Debugging React Server Actions & Search Logic
02:06:30 Successful Test of Vector Search Similarity
02:08:45 Wrap Up & Next Steps (Proposals & Voting)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: