ChatBot.guard_stats()
Get activation statistics for all attached guardrails.
Usage
ChatBot.guard_stats()Returns
Examples
stats = bot.guard_stats()
# {'no_pii': {'passed': 42, 'blocked': 0, 'rewritten': 3},
# 'max_response_length': {'passed': 40, 'blocked': 0, 'rewritten': 5}}