DetectorAPI#

class langchain_community.tools.zenguard.tool.DetectorAPI(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
ALLOWED_TOPICS = 'v1/detect/topics/allowed'#
BANNED_TOPICS = 'v1/detect/topics/banned'#
PROMPT_INJECTION = 'v1/detect/prompt_injection'#
KEYWORDS = 'v1/detect/keywords'#
PII = 'v1/detect/pii'#
SECRETS = 'v1/detect/secrets'#
TOXICITY = 'v1/detect/toxicity'#