instructions • Rust AI Agent SDK

instructions: Set custom instructions

instructions

Method

</div>

This is a method of the PromptExpanderAgentBuilder class in the specialized_agents module.

Set custom instructions

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.