QuivrHQ / quivr

Open-source RAG Framework for building GenAI Second Brains 🧠 Build productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Efficient retrieval augmented generation framework
https://quivr.com
Other
36.26k stars 3.53k forks source link

[Hosting] AAContributor I can deploy Quivr on multiple cloud providers (AWS, GCP, ?) #322

Closed mattzcarey closed 1 year ago

mattzcarey commented 1 year ago

Be able to deploy frontend to Amplify

Deploy BE to ECS Fargate

Include docs on how to do this.

Klaudioz commented 1 year ago

I'd like to have the same for GCP as well.

dabrodev commented 1 year ago

Would be nice to document the railway and render deployments.

masapasa commented 1 year ago

Hi all, any progress on this? I am having difficulties deploying to ecs fargate

antstanley commented 1 year ago

Are there any thoughts on providing alternative database options beyond Supabase? Would like to run the entire project on one cloud provider, and not have data in 3rd parties.

Happy to contribute to make this happen if needed.

mattzcarey commented 1 year ago

@antstanley yes there is. It is an ongoing improvement discussed here: #646. Once we extract Supabase from the core db logic, you can swap in an alternative.

There are currently no plans to create an option to remove Supabase entirely, however. For instance, supabase will still be needed for auth. You are always welcome to create a PR. The auth handler functionality should be quite simple to adjust to use Cognito or another provider.

The fallback is that you can always self-host Supabase.

I hope that answers your question and looking forward to seeing you for Serverless days Cape Town?!

antstanley commented 1 year ago

Ok. After a quick look at Auth it looks like you're using the Supabase auth client libraries. To make Auth more agnostic you'll need to swap them out with something like Auth.js, formerly NextAuth, which gives you a huge variety of provider support. Only problem is Auth.js doesn't support Supabase at this time.

Will create a separate issue on swapping out Auth providers to allow choice there, and document options. Once I've done that I'll submit a PR to get it done. Sound ok?

mattzcarey commented 1 year ago

@antstanley sounds good!!

github-actions[bot] commented 1 year ago

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.