default_guardrail_violation_handler#

langchain_community.llms.layerup_security.default_guardrail_violation_handler(violation: dict) str[source]#

Default guardrail violation handler.

Parameters:

violation (dict) – The violation dictionary.

Returns:

The canned response.

Return type:

str