Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 years ago
0
Follow
Wondering if there s any way to save
Wondering if there s any way to save
Inactive
0
Follow
b
bbornsztein
2 years ago
ยท
Wondering if there's any way to save/load an index to S3 or some other filestore? I suppose we'd then need to download the whole index every time a query is run?
j
b
11 comments
Share
Open in Discord
j
jerryjliu0
2 years ago
this is a good idea. currently most indices are serializable to a json file on disk, and when loaded they're stored in memory
j
jerryjliu0
2 years ago
some indices like weaviate/pinecone are backed by respective db's
b
bbornsztein
2 years ago
right - i didn't want to mess with weviate for a json index, so I'm saving to disk
b
bbornsztein
2 years ago
but my app is on fly.io and working with storage is tricky
b
bbornsztein
2 years ago
it'd be better to be able to just store the indexes in s3
b
bbornsztein
2 years ago
or what about in postgres?
j
jerryjliu0
2 years ago
yep makes sense
b
bbornsztein
2 years ago
that would be super eary
b
bbornsztein
2 years ago
easy
j
jerryjliu0
2 years ago
i want to add "serializer" classes so that you can save this stuff to external stores
b
bbornsztein
2 years ago
yeah, makes sense
Add a reply
Sign up and join the conversation on Discord
Join on Discord