LLM Validator • Rust AI Agent SDK

llm_validator: Set LLM validator prompt

llm_validator

Method

</div>

This is a method of the GuardrailConfig class in the config module.

Set LLM validator prompt

Signature

python
def llm_validator(mut self, prompt: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation