Catch malicious prompts before your AI responds.
Guides integration of jailbreak and prompt-injection filtering into LLM applications.
When to use it
Use when filtering user inputs for jailbreaks or validating third-party API and RAG data.
It changes how the agent implements input filtering in an LLM application, using classifier scores to block suspected jailbreaks and injections.
What you provide
The CPU deployment requirements specify a four-core CPU and 8GB RAM.
This skill
meta-llama/Prompt-Guard-86M
Loads the Prompt Guard model
transformers
Installs transformers
torch
Installs torch