This guide assumes you have already generated a OpenAI API key, which can be found here.
- Create the env file and add your OpenAI API key
cp .env.example .env
- Install dependencies
npm install
- Run the application
npm run start
Want to use your own SQLite database? Just replace the ./data/baby_names.db
path with the path to your database.
const client = new Database("./data/baby_names.db");