User Started Speaking
User Started Speaking notifies the server that the user has begun speaking.
What is the UserStartedSpeaking
Message
UserStartedSpeaking
MessageThe userStartedSpeaking
message confirms when a user begins to speak.
Receiving UserStartedSpeaking
UserStartedSpeaking
The server will send a UserStartedSpeaking
message every time the user begins a new utterance. If the client is playing agent audio when this message is received, it should stop playback immediately and discard all of its buffered agent audio.
{
"type": "UserStartedSpeaking"
}
Conclusion
The UserStartedSpeaking
message notifies the server that the user has begun speaking, prompting the client to stop any ongoing agent audio playback and discard any buffered audio, ensuring that the user's input is prioritized and processed immediately.
Updated about 11 hours ago