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