Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider chromadb alternatives #9

Open
cmungall opened this issue Oct 25, 2023 · 0 comments
Open

consider chromadb alternatives #9

cmungall opened this issue Oct 25, 2023 · 0 comments

Comments

@cmungall
Copy link
Member

cmungall commented Oct 25, 2023

chroma is very slow on the EC2 instance. I don't think the issue is with any fancy vector operations - it's just basic lookup operations and extracting metadata for a collection that seems to be slow.

I am not sure we actually need a vector database. It may be better to use a dedicated document store that has some kind of vector plugin

solr/ES has vector extensions. However, I don't think this would be good as a primary store for editable data

sqlite has vector extensions https://simonwillison.net/2023/Oct/23/embeddings/ -- seems to require. aplugin https://github.com/asg017/sqlite-vss -- this may make the overall build more complicated..

the native datamodel for curategpt is json documents so using mongodb as a base would be perfect. There is atlas but this seems to force some kind of cloud deployment - https://www.mongodb.com/products/platform/atlas-vector-search - this might be a good way to go bit we want the option to keep it simple with local files

cc @julesjacobsen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant