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

Self hosting all the things #5

Closed
bertybuttface opened this issue May 13, 2023 · 7 comments
Closed

Self hosting all the things #5

bertybuttface opened this issue May 13, 2023 · 7 comments

Comments

@bertybuttface
Copy link

I know this project is very reliant on cloud services in it's current state and for some people that may be fine.

Equally it may also now be possible to run this application using fully self hosted services.

Is this considered in or out of scope for this project? Would you accept a PR that provided local support?

@StanGirard
Copy link
Collaborator

StanGirard commented May 13, 2023

Yes i would definetely accept a PR for local support.

I want to build a desktop app in a few weeks/month - need time or help

The issue is I used Streamlit. I'd like to avoid it but keep the python language if possible.

But moving to JS can be a possibility and have a nextjs Electron app for example with LangchainJS. I need to think about it.

What do you think?

@bertybuttface
Copy link
Author

I agree a multi-platform app is a must. I'm a little out of touch with what the state of the art is but Electron sounds reasonable. I've not used Streamlit but it looks like a Firebase clone.

Decoupling the front and the backend is a possibility, would be nice to use the same frontend across web, mobile and desktop (via Electron) with an API built in Python. A single Docker container that runs the frontend and the API could be provided to keep setup simple.

As an aside there is a project called https://github.com/Xpitfire/symbolicai that has some overlap with this project which might be worth taking a look at. Won't solve the app issue but interesting to see what they are upto.

@bertybuttface
Copy link
Author

Something like FastAPI (or Starlette) might be appropriate for the backend. Something like React / React Native for the frontend and maybe Electron for the mobile app. I could be showing my age here though.

@StanGirard
Copy link
Collaborator

Lets go with

Python for the backend with FastAPI
NextJS for the frontend for web
Electron + NextJS for the Desktop app

I'll add that to the roadmap.

@bertybuttface
Copy link
Author

This might be the easiest way to support GPT4All and others:

https://python.langchain.com/en/latest/modules/models/llms/integrations/gpt4all.html

@Klaudioz
Copy link
Contributor

Lets go with

Python for the backend with FastAPI NextJS for the frontend for web Electron + NextJS for the Desktop app

I'll add that to the roadmap.

I think basically pynecone is NodeJS with Python.

@StanGirard StanGirard mentioned this issue May 15, 2023
14 tasks
@StanGirard
Copy link
Collaborator

Closing in favor of #1.

You can join the discussion on Discord or in the discussion panel 😉

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

3 participants