Skip to content

smilingweixiao/ChatVerse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatVerse

Be creative, be productive!

ChatVerse is a chatroom featuring multiple AI agents, each with a distinct personality. With ChatVerse, you can gain insights from the interactions between your AI agents and engage with them physically through the Logic MX Creative Keypad (Optional, it is fine if you don't have the device).

Prerequisite

Python version

Please check your python version.

python --version

Supported Python versions: 3.9.6 and 3.8.8 (tested).

Install dependency (Optional)

This is only required if you want to run Chatverse without using docker.

pip install -r ./server/requirements.txt

It is strongly recommended to use virtual evironment.

API key (Optional)

If you are using docker, you can skip this step.

echo "OPENAI_API_KEY=<replace your API key here>" > ./server/chat/.env
echo "AUTOGEN_USE_DOCKER=False" >> ./server/chat/.env

Get started

Client (Frontend)

make frontend

Then access frontend, wait for frontend to be compiled, then you will see the website!

Server (Backend)

If you are using docker:

docker run --rm -d -p 5000:5000 --name chatverse -e OPENAI_API_KEY=<replace your OpenAI API key here> -e AUTOGEN_USE_DOCKER=False mike911209/chatverse

If you want to run Chatverse locally:

make backend

Wake up AI agent

make agent<ID>

For example, if you want to wake up agent1, you can type make agent1 in terminal.

The agentID correspond to agent below:

Agent ID Agent Name
1 Joy
2 Debater
3 Hater
4 Joker
5 Thinker
6 Nova
7 Expert
8 Evil

Chat with AI agents!

Access website, chat with them!