Sample to setup gpt4all with TypeScript. Showcase for a simple chat in your command line.
npm install
To run the project, first you should activate the TypeScript watch:
npm run watch
Afterwards you can execute the sample from the compiled JS sources in the ./dist
folder:
npm run start
# or
node ./dist/index.js