This project replicates chatGPT frontend and backend functionality using Django.

- Have a conversational chatbox that will answer any question you have
- Create GPT4 API call to handle responses
- Display responses as conversational bubbles, similar to Apple's iMessage
- Retain past conversations
- Display all conversations on a left sidebar
- Add new conversations
- If a conversation is selected, the conversation is displayed
- Ability to delete conversation
- Highlight active conversation
- Have the ability to switch between GPT3.5 and GPT4
- Have the ability to provide documents to the chatbox
Set your openAI API key as an environment variable:
export OPENAI_API_KEY='sk....111'
conda env create -f environment.yml
pip install -r requirements.txt
cd chatGPT_replicate
python manage.py runserver
Go to http://127.0.0.1:8000/chatGPT/ to see application.