This CS 221 project creates a chatbot that can imitate a certain celebrity. Currently it is set up to imitate Arnold Schwarzenegger at chiploons.com.
We added over 1200 lines to give the generic Program-O chatbot a personality, please see our Github Contributions to see what changes we made. To run some of our data scraping files in isolation rather than setting up the entire Chambot PHP server, from the home directory you can run (where arnold_schwarzenegger
could be any famous person such as oprah_winfrey
or albert_einstein
)
cd genbot
python scrape_personality.py arnold_schwarzenegger
python scrape_quotes.py arnold_schwarzenegger
cat ../bots/arnold_schwarzenegger/personality.json
cat ../bots/arnold_schwarzenegger/quotes.json
To run some of the learning experiments, from the home directory you can run
cd config
python learn.py