Programs belong to a specific domain. This defines the kinds of events they are expected to receive and emit.
Emits audio-chunk
events, ideally with a timestamp
.
Receives audio-chunk
events.
Emits detection
event(s) or a not-detected
event if the program exits without a detection.
Receives an audio-start
event, followed by zero or more audio-chunk
events.
An audio-stop
event must trigger a transcript
event to be emitted.
Receives audio-chunk
events.
Emits voice-started
with the timestamp
of the audio-chunk
when the user started speaking.
Emits voice-stopped
with the timestamp
of the audio-chunk
when the user finished speaking.
Optional. The handle
domain can handle transcript
events directly.
Receives recognize
events.
Emits either an intent
or a not-recognized
event.
Receives one of the following event types: transcript
, intent
, or not-recognized
.
Emits either a handle
or not-handled
event.
Receives a synthesize
event.
Emits an audio-start
event followed by zero or more audio-chunk
events, and then an audio-stop
event.
Receives audio-chunk
events until an audio-stop
event.
Must emit played
event when audio has finished playing.