Code Monkey home page Code Monkey logo

Comments (8)

iloahz avatar iloahz commented on July 19, 2024 3

my use case is family sharing too, adding api key every time is not convenience and even a blocker for non-tech users, I just want to setup a out-of-the-box chatgpt that everyone in the family can instantly explore, even if it compromises the multi-user feature

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024 2

Added for self-hosters:

https://github.com/cogentapps/chat-with-gpt#store-your-api-keys-on-the-server

from chat-with-gpt.

jordon31 avatar jordon31 commented on July 19, 2024 1

need to create an .env file for both APIs for this

i hope he adds it

from chat-with-gpt.

GOvEy1nw avatar GOvEy1nw commented on July 19, 2024 1

Yes I agree, an option to support multiple users (login) using the same API key would be great.

from chat-with-gpt.

SimonMacIntyre avatar SimonMacIntyre commented on July 19, 2024 1

In my case, as an exclusive local docker use only, it would be ideal to bootstrap the container with my API key. It won't have other users, ever.

Maybe if an env variable is present it can be automatically set?

In the same vein, I'd love to preset the model to use 4, but thats far less important. Bootstrapping the api key is crucial, its so tedious for docker users.

Storing the API key in a .env file is not a good idea since the app supports multiple users.

This is a deployment concern, the app does not need to be used with multiple users. That is a feature of the app, in fact one I didn't even use when I evaluated the web hosted deployment. In deployments you simply don't set the api token env variable and use the stock setup which uses cookies or whatnot.

Re-using the account feature, to bootstrap with an api key as well would work.

I think this github project which is of course deployed, makes sense, but imo there should be a way to use it as a local user for personal use.

I like booting it up ephemerally with fresh empty history for example, and don't want to have to leave it up 24/7 just to avoid having to re-add my api key every single time.

from chat-with-gpt.

occasionallydavid avatar occasionallydavid commented on July 19, 2024

It's a really nice project, a little shame it requires a tech user to set it up though :/

I think conversation history is also somehow related to session? I can see chats in SQLite, but the left tab does not populate with my old chats after login either

from chat-with-gpt.

Frajder avatar Frajder commented on July 19, 2024

Storing the API key in a .env file is not a good idea since the app supports multiple users.

from chat-with-gpt.

occasionallydavid avatar occasionallydavid commented on July 19, 2024

just FYI https://github.com/mckaywrigley/chatbot-ui allows setting the key in the backend. Only "problem" is it's a next.js app that seems to think it's okay to send 1MB of JS and fonts to the client for such a simple app, and streaming doesn't seem to work properly in Firefox (but it's fine in Chrome derivs)

from chat-with-gpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.