voice • Rust AI Agent SDK

voice: Set the voice

voice

Method

</div>

This is a method of the AudioConfig class in the agents module.

Set the voice

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.