assistant • Rust AI Agent SDK

assistant: Create an assistant message

assistant

Method

</div>

This is a method of the LlmMessage class in the protocols module.

Create an assistant message

Signature

python
def assistant(content: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.