Play online: AI Alibis
Authors: Paul Scotti and Will Beddow
We employ a principles & refinement prompting approach inspired by SynthLab's research paper, Suppressing Pink Elephants with Direct Principle Feedback
Special thanks to Synthlabs for organizing the hackathon that inspired this project.
- Git clone the repo
git clone https://github.com/ironman5366/ai-murder-mystery-hackathon.git
cd ai-murder-mystery-hackathon
- Add your Anthropic API (and optionally PostgreSQL DB) to api/.env file
nano api/.env
export ANTHROPIC_API_KEY="YOUR_API_KEY_HERE"
(<ctrl+x , y, enter> to save changes and exit nano)
- Install Node dependencies
web/npm i
- Start up the api
bash api_start.sh
- In separate terminal, start up the web interface
bash web_start.sh
- Play the game