latent.guardrails.scanners.llm¶
Classes¶
LLMGuardrailScanner¶
Input or output scanner backed by Judge[ViolationScore].
LLMGuardrailScannerConfig¶
LLMGuardrailScannerConfig(model: str, prompt_template: str, name: str = 'llm_guardrail', threshold: float = 0.5, on_error: OnError = 'ignore')