Watch: Add "search by meaning" to my app with pgvector | Vovy

Watch Vovy do it on a Mac: "Make search in my app understand meaning, not just exact words". Turn on pgvector in Supabase, generate embeddings for your content, and add semantic search that finds results by meaning.

"Make search in my app understand meaning, not just exact words"

Turn on pgvector in Supabase, generate embeddings for your content, and add semantic search that finds results by meaning.

What happens in the video

  1. Enable the vector extension: Vovy opens Supabase, goes to Database, then Extensions, and enables vector. It lets Postgres store embeddings, number lists that capture meaning.
  2. Add an embedding column: Vovy asks Claude Code for a migration adding a vector column sized to your model, like 1536 for text-embedding-3-small, plus an HNSW index for speed.
  3. Embed your existing content: Claude Code writes a one-time script that sends each row to the embeddings API and saves the result. Vovy shows the estimated cost first.
  4. Create a match function: Claude Code adds a Postgres function that finds the closest rows to a query embedding, callable from your app with supabase.rpc.
  5. Test with real searches: Vovy runs searches like "cheap place to eat" against your data and shows a table of old keyword results next to the new ones.
Read the step-by-step guide