Skip to main content

new

Method
This is a method of the BlocklistGuardrail class in the guardrails module.
Create a new blocklist guardrail

Signature

def new(keywords: Vec<String>) -> Self

Parameters

keywords
Vec<String>
required
No description available.

Returns

Returns
Self
The result of the operation.