From my talk at the BCC34 on April 29th, 2023. This is a very quick method to connect to OpenAI's ChatGPT APIs using NodeJS.
Get connected and chatting in just a few minutes!
- Clone this repo.
- Create a
.env
file with parameterOPENAI_API_KEY=xxx
and add your OpenAI API key and get chatting! - Run the script! Run
node index.js
Created by David Lozzi.