Rate this page:

VoiceAgentAPIEvents

Add the following line to your scenario code to use the events:

require(Modules.QwenCloud);

Constants

ConnectorInformation
Copy URL

Contains information about the connector.

Parameters

ConversationItemAmbientAudioTranscriptionCompleted
Copy URL

Parameters

ConversationItemAmbientAudioTranscriptionDelta
Copy URL

Parameters

ConversationItemCreated
Copy URL

Parameters

ConversationItemDeleted
Copy URL

Parameters

ConversationItemInputAudioTranscriptionCompleted
Copy URL

Parameters

ConversationItemInputAudioTranscriptionDelta
Copy URL

Parameters

ConversationItemInputAudioTranscriptionFailed
Copy URL

Parameters

ConversationItemRetrieved
Copy URL

Parameters

Error
Copy URL

Parameters

InputAudioBufferCleared
Copy URL

Parameters

InputAudioBufferCommitted
Copy URL

Parameters

InputAudioBufferSpeechStarted
Copy URL

Parameters

InputAudioBufferSpeechStopped
Copy URL

VAD detected the end of speech. In smart_turn mode, reason turn_invalid means the turn was rejected. https://docs.qwencloud.com/api-reference/qwen-audio-realtime/server-events#input-audio-buffer-speech-stopped

Parameters

ResponseAudioDone
Copy URL

Assistant audio output finished. Audio bytes arrive as media, not this event. https://docs.qwencloud.com/api-reference/qwen-audio-realtime/server-events#response-audio-done

Parameters

ResponseAudioTranscriptDelta
Copy URL

Parameters

ResponseAudioTranscriptDone
Copy URL

Parameters

ResponseContentPartAdded
Copy URL

Parameters

ResponseContentPartDone
Copy URL

Parameters

ResponseCreated
Copy URL

Parameters

ResponseDone
Copy URL

A model response finished. status can be completed, cancelled, or failed. https://docs.qwencloud.com/api-reference/qwen-audio-realtime/server-events#response-done

Parameters

ResponseFunctionCallArgumentsDelta
Copy URL

Parameters

ResponseFunctionCallArgumentsDone
Copy URL

Parameters

ResponseOutputItemAdded
Copy URL

Parameters

ResponseOutputItemDone
Copy URL

Parameters

ResponseTextDelta
Copy URL

Parameters

ResponseTextDone
Copy URL

Parameters

SessionCreated
Copy URL

Parameters

SessionUpdated
Copy URL

Parameters

Unknown
Copy URL

The unknown event.

Parameters

VoiceprintAudioListCompleted
Copy URL

Parameters

VoiceprintAudioListFailed
Copy URL

Parameters

VoiceprintAudioListInProgress
Copy URL

Parameters

WebSocketError
Copy URL

The WebSocket error response event.

Parameters

Rate this page: