Supabase Vector Has a Free API — Build AI Search in Minutes
TL;DR Supabase now includes pgvector out of the box — giving you a free vector database alongside your PostgreSQL database. Build semantic search, RAG pipelines, and recommendation engines without ...

Source: DEV Community
TL;DR Supabase now includes pgvector out of the box — giving you a free vector database alongside your PostgreSQL database. Build semantic search, RAG pipelines, and recommendation engines without a separate vector DB. What Is Supabase Vector? Supabase is the open-source Firebase alternative built on PostgreSQL. With the addition of pgvector, every Supabase project becomes an AI-ready database: pgvector extension — vector similarity search natively in PostgreSQL Free tier — 500 MB database with vector support included REST API — auto-generated API for all your tables (including vector columns) Edge Functions — run embedding generation at the edge Auth + RLS — secure your vector data with Row Level Security Setting Up Vector Search 1. Enable pgvector -- Enable the vector extension (one-time setup) CREATE EXTENSION IF NOT EXISTS vector; -- Create a table with embeddings CREATE TABLE documents ( id BIGSERIAL PRIMARY KEY, title TEXT NOT NULL, content TEXT NOT NULL, embedding VECTOR(1536) -