- Notifications
You must be signed in to change notification settings - Fork0
coderabbitai/lancedb-test-connection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project demonstrates connecting to LanceDB using AWS S3 as the object store backend.
- Node.js (version 22 LTS preferred)
- AWS credentials configured
- Access to an S3 bucket
Ensure Node.js is installed:
Check if Node.js is installed:
node --version
If not installed, download and install fromnodejs.org
Install dependencies:
npm install
Update S3 bucket path:
Edit
aws.js
and replace<BUCKET_NAME>
with your actual S3 bucket name:constS3_PATH="s3://your-bucket-name/test/coderabbit/data"
Your AWS credentials need the following S3 permissions for the specified bucket:
{"Version":"2012-10-17","Statement": [ {"Effect":"Allow","Action": ["s3:PutObject","s3:GetObject","s3:DeleteObject" ],"Resource":"arn:aws:s3:::<bucket>/<prefix>/*" }, {"Effect":"Allow","Action": ["s3:ListBucket","s3:GetBucketLocation" ],"Resource":"arn:aws:s3:::<bucket>","Condition": {"StringLike": {"s3:prefix": ["<prefix>/*" ] } } } ]}
node aws.js
About
No description, website, or topics provided.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published