Installation
S3 Vectors support requires additional dependencies. Install them with:Usage
To use Amazon S3 Vectors with Mem0, you need to have an AWS account and the necessary IAM permissions (s3vectors:*
). Ensure your environment is configured with AWS credentials (e.g., via ~/.aws/credentials
or environment variables).
Config
Here are the available parameters for thes3_vectors
config:
Parameter | Description | Default Value |
---|---|---|
vector_bucket_name | The name of the S3 Vector bucket to use. It will be created if it doesn’t exist. | Required |
index_name | The name of the vector index within the bucket. | mem0 |
embedding_model_dims | Dimensions of the embedding model. Must match your embedder. | 1536 |
distance_metric | Distance metric for similarity search. Options: cosine , euclidean . | cosine |
region_name | The AWS region where the bucket and index reside. | None (uses default from AWS config) |