โ๏ธConfiguration
Modify Vigil settings
Before running Vigil, you'll want to modify the conf/server.conf
file and make sure all settings are to your liking.
To get started, you might want to:
Add your OpenAI API key to the
[embedding]
section(or) set your Sentence Transformers
model
Specify your desired scanner modules in the
[scanners]
sectioninput_scanners
accepts comma separated list of scanner namesvalid scanners: yara, transformer, vectordb, sentiment
output_scanners
accepts a comma separated list of scanner namesvalid scanners: similarity, sentiment
Set
db_dir
to<vigil repo>/data/vdb
Set
rules_dir
to<vigil repo>/data/yara
Adjust similarity
threshold
setting in thescanner:vectordb
section (optional)Enable auto-updating the vector database with detected prompts (optional)
auto_update = true
update_threshold = 3
number of matching scanners required to add submitted prompt back to the vector database
Sample config file
Last updated