ZenGuardInput#

class langchain_community.tools.zenguard.tool.ZenGuardInput[source]#

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param detectors: List[Detector] [Required]#

List of detectors by which you want to check the prompt

param in_parallel: bool = True#

Run prompt detection by the detector in parallel or sequentially

param prompts: List[str] [Required]#

Prompt to check

Constraints:
  • minLength = 1

  • minItems = 1