Key Features
Vector Embeddings
Store and query high-dimensional vectors for semantic search
Similarity Search
Find similar items using cosine, L2, or inner product distance
pgvector Extension
Native PostgreSQL extension with full SQL support
AI Integrations
Works with OpenAI, Anthropic, Hugging Face, and more
What are Vector Embeddings?
Vector embeddings are numerical representations of data that capture semantic meaning. Similar items have similar vectors.Use Cases
Semantic Search
Semantic Search
Search by meaning, not just keywords. Find documents that match the intent of a query even if they use different words.
Recommendation Systems
Recommendation Systems
Recommend products, content, or users based on similarity to past interactions or preferences.
RAG (Retrieval Augmented Generation)
RAG (Retrieval Augmented Generation)
Build chatbots that answer questions using your own data by retrieving relevant context before generating responses.
Content Moderation
Content Moderation
Detect similar or duplicate content, classify images, or identify inappropriate material.
Architecture Options
Supabase offers three ways to work with vectors:- pgvector Extension
- Vector Buckets
- Analytics Buckets
Store vectors directly in PostgreSQL tables with full SQL support.Best for: Transactional workloads, complex queries with SQL
Getting Started
Next Steps
Vector Embeddings
Learn how to generate and store embeddings
Similarity Search
Build semantic search functionality
pgvector Guide
Deep dive into the pgvector extension
AI Examples
Explore complete AI application examples
