Flutter: from

Scopes index operations to a single vector bucket. Returns a StorageVectorBucketApi.

Examples

Scope operations to a bucket

final bucket = supabase.storage.vectors.from('embeddings');

await bucket.createIndex(
  name: 'documents',
  dimension: 3,
  distanceMetric: DistanceMetric.cosine,
);