Skip to content

A low-scale-clone of ChatGPT made using OpenAI API. Client side deployed on vercel and server side on render.com . Removing .env file, setting environment variable on remote server ensures no public leakage of API key and 401 error.

sethdford/AskAI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AskAI

An application that resembles ChatGPT made using OpenAI API.

Previously threw 401 errors Solution that worked:

  1. Remove .gitignore file from root folder
  2. Remove .env file from script folder
  3. Make new API Key
  4. Add API Key in environment variable of remote server and deploy again
  5. Made a new vercel deployment

[Request]:- Please don't use it to the limit as it is running on free trial

The risk factor set is low that is it will not think out of the box and the frequency of getting slightly same answers is also set to be low, good for getting facts, codes and explanations.

Screenshots from localhost

ss2

deployed

Pagespeed

pagespeed

About

A low-scale-clone of ChatGPT made using OpenAI API. Client side deployed on vercel and server side on render.com . Removing .env file, setting environment variable on remote server ensures no public leakage of API key and 401 error.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.2%
  • CSS 26.0%
  • HTML 8.8%