Detector#

class langchain_community.tools.zenguard.tool.Detector(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
ALLOWED_TOPICS = 'allowed_subjects'#
BANNED_TOPICS = 'banned_subjects'#
PROMPT_INJECTION = 'prompt_injection'#
KEYWORDS = 'keywords'#
PII = 'pii'#
SECRETS = 'secrets'#
TOXICITY = 'toxicity'#

Examples using Detector