Skip to content

Django web application that replicates chatGPT UI and functionality

Notifications You must be signed in to change notification settings

j2moreno/chatGPT-replicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatGPT-replicate

This project replicates chatGPT frontend and backend functionality using Django.

image

Goals

  • 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

Stretch Goals

  • Have the ability to switch between GPT3.5 and GPT4
  • Have the ability to provide documents to the chatbox

Set openAI API Key

Set your openAI API key as an environment variable:

export OPENAI_API_KEY='sk....111'

Install conda environment

conda env create -f environment.yml

Install using pip

pip install -r requirements.txt

Run Sever

cd chatGPT_replicate
python manage.py runserver

Go to http://127.0.0.1:8000/chatGPT/ to see application.

About

Django web application that replicates chatGPT UI and functionality

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published