new • Rust AI Agent SDK

new: Create a new blocklist guardrail

new

Method

</div>

This is a method of the BlocklistGuardrail class in the guardrails module.

Create a new blocklist guardrail

Signature

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

Parameters

ParamField Vec&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.