You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @brief Defines the request body for the Speak API
4
+
//
5
+
// @since v0.9.0
6
+
typeSpeakBodystruct {
7
+
// The text content to be spoken, with a maximum length of 512 bytes.(Required)
8
+
Text*string`json:"text"`
9
+
// The priority of the speech behavior, which supports the following values(Optional):
10
+
//
11
+
// - "INTERRUPT" (default): High priority, interrupt and speak. The agent will terminate the current interaction and speak the message directly.
12
+
// - "APPEND": Middle priority, append and speak. The agent will speak the message after the current interaction.
13
+
// - "IGNORE": Low priority, speak when idle. If the agent is currently interacting, it will directly ignore and discard the message to be spoken; only when the agent is not interacting will it speak the message.
14
+
Priority*string`json:"priority,omitempty"`
15
+
// Whether to allow the user to speak to interrupt the agent's speech(Optional):
0 commit comments