Skip to content

Updated

Vector Bucket Local Development

Develop and test vector bucket integrations in your local environment with the Supabase CLI.

You can now develop and test Vector Bucket integrations in your local environment using the Supabase CLI.

This allows you to build and iterate on your vector search applications without needing to deploy to a live environment. Make sure you have the latest version of the Supabase CLI installed to access this feature.

Setting up local vector buckets

Make sure you have the feature enabled in your config file (supabase/config.toml or supabase/config.jsonc):

# Store vector embeddings in S3 for large and durable datasets
[storage.vector]
enabled = true
{
// Store vector embeddings in S3 for large and durable datasets
"storage": {
"vector": {
"enabled": true
}
}
}

Declarative configuration

You can define your vector buckets in your config file using the following syntax:

[storage.vector.buckets.documents-openai]
[storage.vector.buckets.images]
{
"storage": {
"vector": {
"buckets": {
"documents-openai": {},
"images": {}
}
}
}
}

Then use supabase seed buckets to create the buckets in your local environment, or supabase seed buckets --remote to create them in your linked project.