max • Rust AI Agent SDK
max: Set maximum length
max
Method
</div>
This is a method of the LengthGuardrail class in the guardrails module.
Set maximum length
Signature
def max(mut self, length: usize) -> SelfParameters
ParamField
usizeNo description available.
Returns
ResponseField
SelfThe result of the operation.