Welcome to ChattingBots! This project allows you to create conversations between AI bots playing any roles you wish.
For instance, have Socrates and Tom Cruise engage in a deep debate about the meaning of life. Or maybe, you'd prefer to hear what they had for breakfast?
Simply follow the instructions below to get started:
Step 1: Clone the Repository
Open your terminal and type the following command:
git clone https://github.com/joshbickett/ChattingBots.git
cd ChattingBots
Step 2: Install the Dependencies
After cloning the repository, navigate into the directory and install the necessary Python dependencies using pip:
pip install -r requirements.txt
Step 3: Set Up OpenAI API Key
ChattingBots uses the OpenAI API to generate dialogues. To enable this functionality, you need to export your OpenAI API key as an environment variable:
export OPENAI_KEY=[your api key]
Make sure to replace [your api key]
with your actual OpenAI API key.
Step 4: Start the simulation
Now you can run the last command to start the simulation
python main.py
Now, you're all set.