Skip to content

Conversation

@sam-s10s
Copy link
Member

Under certain circumstances, when there is a short utterance and the VAD triggers a ForceEndOfUtterance message, then this can result in the STT engine emitting the utterance as finals, bypassing the partial payloads. The turn detection uses partials to detect speaker start / stop events and for end of turn messages, and the absence of the partial utterance resulted in these messages not being emitted.

The fix checks final payloads to determine if there was a previous valid partial payload and will then determine whether to trigger a start of turn so that the remaining end of turn logic follows as expected.

@LArmstrongDev
Copy link
Contributor

What testing did you do for this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants