If you just want to run the code and nothing else, you can do the following:
- Clone the repository.
cd
into it.- Create a new Python 3.10 virtual environment called
venv
. - Activate the virtual environment.
- Install the
defense-in-depth-demo
project.
git clone https://github.com/AlignmentResearch/defense-in-depth-demo.git &&
cd defense-in-depth-demo &&
python -m venv venv &&
source venv/bin/activate &&
pip install .
Note that this project has not been tested with different versions of Python.
Run python demo.py
to query the defense pipeline interactively.