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

Support for local databases #18

Closed
umaar opened this issue Mar 16, 2023 · 7 comments
Closed

Support for local databases #18

umaar opened this issue Mar 16, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@umaar
Copy link

umaar commented Mar 16, 2023

Great project. Would be nice to get support for a local DB, without having to rely on a third party. Maybe a local PostgreSQL or local SQLite?

@louis030195
Copy link
Contributor

Great project. Would be nice to get support for a local DB, without having to rely on a third party. Maybe a local PostgreSQL or local SQLite?

@umaar Interesting, could you elaborate on the use case for this, please 😄 ?

@louis030195 louis030195 added the enhancement New feature or request label Mar 16, 2023
@ashgansh
Copy link
Member

Great project. Would be nice to get support for a local DB, without having to rely on a third party. Maybe a local PostgreSQL or local SQLite?

I think that makes ton of sense. Eventually I'd even want a fully local deployment!

@umaar
Copy link
Author

umaar commented Mar 16, 2023

For example with pinecone, supabase etc. they're great but it's easy to quickly eat into your free tier which is tricky when doing hobby projects. Being able to use local databases means things can be set up very cheaply, or even free where the only costs are from OpenAI. My personal use case is ingesting some content I've written, being able to do semantic searching over my own content!

Thank you for this excellent project!

@louis030195
Copy link
Contributor

@umaar interesting... There is a hosted version which is free, you can try at https://app.embedbase.xyz. It's useful to try out Embedbase, then you can self-host later if you want! 😃

@umaar
Copy link
Author

umaar commented Mar 16, 2023

Oh no, what I mean is the supabase portion. Right now, embedbase relies on supabase I believe? This GitHub issue to suggest not tying embedbase to supabase, but rather, allowing embedbase to work with other vector DBs. In fact, I just noticed this on the home page!

image

So i think that was the plan anyway?

@louis030195
Copy link
Contributor

I could add a local db with FAISS eventually, should be done in ~20 minutes I have done this in the past here https://github.com/langa-me/langame-worker/blob/27bf899d485948c9635a76b8f91deb3c19e2d46d/langame/conversation_starters.py#L121

@umaar
Copy link
Author

umaar commented Mar 24, 2023

Thank you!

@umaar umaar closed this as completed Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants