Skip to main content

detect_injection

Function detect_injection 

Source
pub fn detect_injection(content: &str) -> Option<&'static str>
Expand description

Detect prompt injection patterns in content.

Returns the first matched pattern if found.