Skip to content

TheSaltiestFish/Awesome_GPT

Repository files navigation

A demo is running in http://44.199.23.199:3007/

Deployment

Frontend

install dependencies:

npm install

start it with:

npm run dev

front end will be running in http://localhost:3000

Backend

install the dependencies:

pip install -r requirements.txt

add your openAI api key

    def __init__(self):
        self.client = OpenAI(api_key='Your key')
        # self.assistant_id = ''  

start it with:

flask --app server run

image

Development

  • Developed frontend with React.js and Next.js
  • Developed backend with Python and Flask, store user message in Redis, identify user by IP address
  • There are limitations like when chat history and files grows, may exceed openAI token limit.

Bonus feature

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published