gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

GPT4ALL support or open source models

Open shiloh92 opened this issue 2 years ago • 4 comments

OpenAI's model 3.5 breaks frequently and is low quality in general.

Falcon, Vicuna, Hermes and more should be supported as they're open source, free, and moving away from paid closed source is good practice and opens applications to huge user base who wants free access to these tools.

shiloh92 avatar Jun 15 '23 13:06 shiloh92

Since gpt4all now has a local server mode that emulates OpenAI’s API calls shouldn’t we be able to just overwrite ai.py’s calls with python calls to the gpt4all local server instead of openai? Or is it more complicated than that?

teddybear082 avatar Jun 16 '23 01:06 teddybear082

I think you are on the right track @teddybear082

patillacode avatar Jun 16 '23 02:06 patillacode

See #63 for Abstraction of the ai.py file which allows for use of any model you desire. Just have to implement it.

zudsniper avatar Jun 16 '23 08:06 zudsniper

gpt-llama claim to be a dropin replacement for chatGpt application. So is there a way to change the api url to local host?

sumersm7 avatar Jun 16 '23 14:06 sumersm7

Maybe this should be a discussion rather than an issue, feel free to start one if you are still interested.

patillacode avatar Jun 21 '23 13:06 patillacode