langchain_community.tools.zenguard.tool.Detector

class langchain_community.tools.zenguard.tool.Detector(value)[source]

一个枚举。

ALLOWED_TOPICS = 'allowed_subjects'
BANNED_TOPICS = 'banned_subjects'
PROMPT_INJECTION = 'prompt_injection'
KEYWORDS = 'keywords'
PII = 'pii'
SECRETS = 'secrets'
TOXICITY = 'toxicity'