Skip to content

A simple chat interface with ChatGPT on the left and users on the right. When the 'Send' button is clicked, the prompt is sent to the backend API for processing.

License

Notifications You must be signed in to change notification settings

Dan178A/Vue-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT-VUE-Chat

Description

A simple chat interface with ChatGPT on the left and users on the right. When the 'Send' button is clicked, the prompt is sent to the backend API for processing.

You can choose who you talk to on the SideBar.

Here is example:

image

Features

Run

You'd better run server first.

Server

cd server
pip3 install -r requirements.txt
python3 app.py

Because there are not too much packages dependencies, maybe the python version is not a ploblem.(I use python3.11).

I use openai==0.27.0, because of the new chatgpt api. You'd better make sure the version of openai package. The package is new, so maybe you could not use 'mirror'. Just download it like this:

pip install -i https://pypi.python.org/simple/ openai==0.27.0

Client

Reference

cd client
nvm install 18 # use node version 18 if possible
npm install
npm run serve

About

A simple chat interface with ChatGPT on the left and users on the right. When the 'Send' button is clicked, the prompt is sent to the backend API for processing.

Resources

License

Stars

Watchers

Forks