langchain_community.tools.zenguard.tool
.DetectorAPI¶
- class langchain_community.tools.zenguard.tool.DetectorAPI(value)[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'¶