GPT4All is an open-source ChatGPT clone based on inference code for LLaMA models (7B parameters). It can run on a laptop and users can interact with the bot by command line.
gpt4all-nodejs project is a simple NodeJS server to provide a chatbot web interface to interact with GPT4All.
- Install GTP4All following these instructions: https://github.com/nomic-ai/gpt4all
- Clone this repository
- cd
gpt4all-nodejs - Set the environment variable GPT4ALL_HOME to point to gpt4all installation folder. For example,
export GPT4ALL_HOME=/Users/yannick/gpt4all/gpt4all - Execute
npm install - Execute
node index.js - Open the web chat in your browser: http://localhost:3000