new • Rust AI Agent SDK

new: Create a new LLM guardrail

new

Method

</div>

This is a method of the LLMGuardrail class in the extras module.

Create a new LLM guardrail

Signature

python
def new(name: impl Into<String>, description: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.