Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 623 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 623 Bytes

ChatGPT Node.js

Exploring the Node.js library of ChatGPT (OpenAI).

Environment Variables

You need to obtain an API key by registering in the OpenAI website. You can follow this link for a detailed step by step on how to obatin it.

To run this project, you will need to add the following environment variable to your .env file and add your API key value

OPENAI_API_KEY="{your_api_key}"

Run Locally

Install dependencies

  npm install

Start the server

  npm start