Implement SupabaseVectorBucketDocumentStore and SupabaseVectorBucketEmbeddingRetriever backed by Supabase's S3-compatible Vector Buckets.
⚠️ Supabase Vector Buckets are currently in alpha upstream. This component should be clearly marked as experimental.
Detailed design
Suitable for large-scale, latency-tolerant workloads where cost is the primary concern (similar to turbopuffer or TopK). Uses the Supabase Storage API or S3-compatible endpoint.
from haystack_integrations.document_stores.supabase import SupabaseVectorBucketDocumentStore
document_store = SupabaseVectorBucketDocumentStore(
supabase_url="https://<project>.supabase.co",
supabase_key=Secret.from_env_var("SUPABASE_SERVICE_KEY"),
bucket_name="my-vector-bucket",
embedding_dimension=1536,
)
Implementation notes
- Primary dependency:
supabase-py
- Auth via
supabase_url and supabase_key (using Secret for secure handling)
- Should be gated behind an explicit opt-in or marked experimental in package metadata and docstrings
- Monitor Supabase Vector Buckets upstream status before stabilising the API
- Integration lives in
integrations/supabase/
Checklist
Implement
SupabaseVectorBucketDocumentStoreandSupabaseVectorBucketEmbeddingRetrieverbacked by Supabase's S3-compatible Vector Buckets.Detailed design
Suitable for large-scale, latency-tolerant workloads where cost is the primary concern (similar to turbopuffer or TopK). Uses the Supabase Storage API or S3-compatible endpoint.
Implementation notes
supabase-pysupabase_urlandsupabase_key(usingSecretfor secure handling)integrations/supabase/Checklist