Skip to main content

Module sanitizer

Module sanitizer 

Source
Expand description

Security Output Sanitizer

Implements HookHandler for GenerateEnd events to scan and redact sensitive data from LLM responses before they reach the user.

Structsยง

OutputSanitizer
Output sanitizer that redacts sensitive data from LLM responses