langchain_experimental.comprehend_moderation.pii.ComprehendPII

class langchain_experimental.comprehend_moderation.pii.ComprehendPII(client: Any, callback: Optional[Any] = None, unique_id: Optional[str] = None, chain_id: Optional[str] = None)[source]

Methods

__init__(client[, callback, unique_id, chain_id])

validate(prompt_value[, config])

__init__(client: Any, callback: Optional[Any] = None, unique_id: Optional[str] = None, chain_id: Optional[str] = None) None[source]
validate(prompt_value: str, config: Any = None) str[source]