Skip to main content

block_on_failure

Method
This is a method of the LLMGuardrail class in the extras module.
Set whether to block on failure

Signature

def block_on_failure(mut self, block: bool) -> Self

Parameters

block
bool
required
No description available.

Returns

Returns
Self
The result of the operation.