Skip to content

GraphLinq/GraphLinq.ServerRelayOpenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphLinq Server Relay For Chat-GPT / OpenAI

This server accepts a POST request to /chat, and uses the server's API Key and IP address to pass the query to the openai API. By running multiple instances spread out to geographically separate servers, would allow for load balancing.

Install

git clone git@github.com:GraphLinq/GraphLinq.ServerRelayOpenAI.git

yarn

Settings

Edit server.js and set your API Key const configuration = new Configuration({apiKey: "",});.

Optional

Edit server.js and change const port = 9021; to the port you would like to use.

Running

yarn start

Screenshot of Server running

About

API Relay Server for Chat-GPT / OpenAI

Resources

License

Stars

Watchers

Forks

Contributors