Discussions

Ask a Question
Back to All

How to Stop Avatar Speech Mid-Stream?

I'm currently working on integrating the avatar chatbot into my application and utilizing the "Create a talk stream API" to make the avatar speak text. However, I'm curious if there's a way to stop the avatar from speaking mid-stream once the API call has been made?

For example, let's say the avatar begins speaking a lengthy paragraph, but I want to interrupt and stop the speech before it finishes. Is there a command or method within the API that allows for this kind of interruption or cancellation?

I've reviewed the documentation but couldn't find a specific mention of this feature. Any guidance or insights into how to achieve this would be greatly appreciated.

Thank you!