Output model for security check guardrail.
| 24 | |
| 25 | |
| 26 | class SecurityCheckOutput(BaseModel): |
| 27 | """Output model for security check guardrail.""" |
| 28 | is_malicious: bool = Field( |
| 29 | description="Whether the input is potentially malicious" |
| 30 | ) |
| 31 | reasoning: str = Field( |
| 32 | description="Reasoning for the security determination" |
| 33 | ) |
| 34 | |
| 35 | |
| 36 | class SensitiveInfoOutput(BaseModel): |