BaseModeration#
- class langchain_experimental.comprehend_moderation.base_moderation.BaseModeration(client: Any, config: Any | None = None, moderation_callback: Any | None = None, unique_id: str | None = None, run_manager: CallbackManagerForChainRun | None = None)[source]#
Base class for moderation.
Methods
- Parameters:
client (Any) β
config (Any | None) β
moderation_callback (Any | None) β
unique_id (str | None) β
run_manager (CallbackManagerForChainRun | None) β
- __init__(client: Any, config: Any | None = None, moderation_callback: Any | None = None, unique_id: str | None = None, run_manager: CallbackManagerForChainRun | None = None)[source]#
- Parameters:
client (Any) β
config (Any | None) β
moderation_callback (Any | None) β
unique_id (str | None) β
run_manager (CallbackManagerForChainRun | None) β