Skip to content

pedrohma/openai-chatgpt-nodejs

Repository files navigation

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

About

Exploring ChatGPT API for Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published