This is a demo project I created to learn and test the openai npm package Get you own API key at platform.openai.com. Then edit the .txt.RENAME_ME file to .env, update it with your API key and Org ID. Currently everything runs from the root index.js file. The routes and models are set but not currently 100% used. Have fun!
- Clone the repo
- Run
npm install
- Rename the .txt.RENAME_ME file to .env and update it with your API key and Org ID
- Run
node index.js
to start the server - Open your browser to localhost:PORT ( it may be 127.0.0.1 instead of localhost)
MIT
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
github.com/roketteere