Skip to content

An HTTP server built on Node.js and Express that manages requests and response to OPENAI.

Notifications You must be signed in to change notification settings

VerenVillegas/Open-AI-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open-AI-Server

An HTTP server built on Node.js and Express that manages requests and responses to OPENAI.

This server can be used for connecting applications to allow for conversations with ChatGPT as well as for sending one-time requests.

How to run

  1. Download or clone the repository.
  2. Change into the working directory.
  3. Create a .env file. Create the following variable:
  OPENAI_API_KEY = {your_openai_key}
  1. Install the required node modules with this command:
  npm i
  1. To compile the TypeScript files, run the following command in the terminal:
  tsc
  1. To run the server, run the following command in the terminal:
  node index.js

About

An HTTP server built on Node.js and Express that manages requests and response to OPENAI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published