- Allow you to custom URL
- Custom your Auth Key
- JSON fomat supported
- Model support gpt-3.5-turbo and text-davinci-003
#####1. Go to index.js and insert your APIs key and ORG key
const apikey = "Enter your OpenAI APIs";
const orgkey = "Enter your ORGs key";
const oauth = "type your custom password here";
const openport = 80;//you can change port default port is 80
#####2. Install module from npm
npm i
or
sudo npm i
npm start
or
sudo npm start
Yes, very simple you can Request directly from browser with GET method
http://localhost/?user=<your text here>&authkey=<your authkey>&ver=<models>
here for some error code when you request to APIs
Error Code | Respone | Detals |
---|---|---|
401 |
Unauthorized | Check your auth key input correctly and set in config |
500 |
Internal Server Error | There are error with APIs or GET body was missing or not compeleted |