基础审核#
- 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]#
审核的基类。
方法
- Parameters:
client (Any)
config (任意 | 无)
moderation_callback (任意 | 无)
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 (任意类型 | 无)
moderation_callback (任意 | 无)
unique_id (str | None)
run_manager (CallbackManagerForChainRun | None)