Lesson 26 / Unit 7: Streaming Recognition
Endpoint Boundaries
Separate recognition segments, voice activity and the decision that a caller has finished speaking.
A recognizer can finalize a segment while the caller is still thinking about the next part of an identifier. Treating every final transcript as permission to reply can interrupt the caller even when recognition is correct.
Separate Decisions
Voice activity estimates whether speech is present. Recognition turns acoustic evidence into token hypotheses. End-of-turn logic decides whether the conversation should advance. Each can fail independently.
The streaming result definition describes finality for a result segment. It does not establish that every application should treat that segment as a complete user turn.
Paused Identifier
Consider “my code is zero seven … seven.” A silence threshold might split the sentence before the final digit. The correct threshold depends on the conversational policy and measured behaviour; the tiny dataset’s inserted pauses cannot establish a universal production value.
| Event | Safe interpretation |
|---|---|
| No recent speech | Acoustic pause observed |
| Final transcript segment | Recognizer committed that segment |
| Identifier format valid | Value passes the format rule |
| Turn accepted | Application policy permits advancing |
Test Recovery
Create scenarios for a continued digit, a correction and an interruption after the agent begins speaking. Retain the timeline of audio, transcripts and application decisions. A transcript-only log cannot reveal when the agent actually spoke over the caller.
The turn-detection guide develops those policies. Finish the course with Serving Measurements, where timing boundaries and the limits of the trained baseline become part of the final report.
We do this work for teams shipping voice agents: Self-Hosted Voice Agent .
Edit this lesson on GitHub ↗Discussion
Questions, corrections and war stories welcome. Sign in with GitHub to comment.