Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

GuardEx Interactive Notebooks

Three notebooks that run the full GuardEx pipeline in-process - no API keys, no server, no mock data.

# Notebook What you'll do Time
01 Quickstart Install, first screen, block unsafe content and injection, mask PII, guard an LLM call 10 min
02 PII Detection 31 entity types, mask vs block, thresholds, deny/allow lists, the reversible PII Vault 15 min
03 Content Safety S1-S14 taxonomy, the classification cascade, observe-only rollout, injection defense, refusals 15 min

Run in Colab

Notebook Badge
01 Quickstart Open In Colab
02 PII Detection Open In Colab
03 Content Safety Open In Colab

Run in Binder

Binder

Opens notebook 01; use the JupyterLab file browser for the others.

Run locally

pip install 'guardex-ai[local]' jupyter
jupyter lab docs/notebooks/

The first Guard() construction downloads about 250 MB of models to ~/.cache/; every run after that is warm.