:mod:`langchain_experimental.comprehend_moderation.base_moderation_callbacks`.BaseModerationCallbackHandler ================================================================================================================== .. currentmodule:: langchain_experimental.comprehend_moderation.base_moderation_callbacks .. autoclass:: BaseModerationCallbackHandler .. rubric:: Attributes .. autosummary:: ~BaseModerationCallbackHandler.pii_callback ~BaseModerationCallbackHandler.prompt_safety_callback ~BaseModerationCallbackHandler.toxicity_callback .. rubric:: Methods .. autosummary:: ~BaseModerationCallbackHandler.__init__ ~BaseModerationCallbackHandler.on_after_pii ~BaseModerationCallbackHandler.on_after_prompt_safety ~BaseModerationCallbackHandler.on_after_toxicity .. automethod:: BaseModerationCallbackHandler.__init__ .. automethod:: BaseModerationCallbackHandler.on_after_pii .. automethod:: BaseModerationCallbackHandler.on_after_prompt_safety .. automethod:: BaseModerationCallbackHandler.on_after_toxicity .. example_links:: BaseModerationCallbackHandler