How can I capture and store real time speed transc...
# ask-ai
f
How can I capture and store real time speed transcripts when the speaker is interrupted mid-sentence Currently in my voice assistant application, the transcript is only stored if the agent is not interrupted @millions-hair-24956 why so this happening and how to solve this
g
It seems likely that the issue with storing transcripts only when the agent is not interrupted is related to how the
user_speech_committed
and
agent_speech_committed
events are handled. According to LiveKit documentation, these events are triggered when the speech is committed to the chat context, which might not occur if the speech is interrupted. To address this, you might consider implementing a mechanism to capture interim transcripts or handle interruptions more effectively. You can listen to the
interim_transcript
event for real-time updates and store these interim transcripts even if the speech is interrupted. Additionally, ensure that your setup allows for interruptions by configuring the
allow_interruptions
parameter appropriately. Would you like more detailed guidance on implementing this solution? Sources: - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1733233605.617919 - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1730811222.681569 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.