xtekky / chatgpt-clone

ChatGPT interface with better UI
https://g4f.ai
GNU General Public License v3.0
3.47k stars 1.04k forks source link

Is Open API key mandatory? #102

Open gameuser1982 opened 1 year ago

gameuser1982 commented 1 year ago

or can it work for free like GPT4FREE does which I already have running where it uses public API keys that are for third party services which use GPT4?

gameuser1982 commented 1 year ago

hmmm looks like streamlit_chat_app.py from the gpt4free repo already has chatgpt style functionality?

N-NeelPatel commented 1 year ago

@gameuser1982 openai key is mandatory

EchedelleLR commented 1 year ago

@N-NeelPatel what if I wanna use LocalAI?

It provides the same compatible API with custom models. This could extend the use of this UI and doesn't require OpenAI Key (since you end running your own server with the models).

N-NeelPatel commented 1 year ago

You will have option to download a copy of model locally. This way you won't require to use openai api key

EchedelleLR commented 1 year ago

My proposal was to use specifically LocalAI not OpenAI models for which the OpenAI API Key requirement is also a problem.

LocalAI is not limited (nor focused) on OpenAI models but just the API with your own custom models, Llama based and GPT4All.

The idea is to extend this to clients for OpenAI ChatGPT clients.