issueatlas · · Reply permalink
word_search only works on completed prerecorded transcripts, so it can never act as a keyword trigger inside a live session. If your goal is to stop transcribing when the speaker pauses, watch the Turn events from the streaming client and check end_of_turn, which is True exactly at that boundary. Then hand the accumulated text to your next step. See the SDK README streaming section and MIGRATION.md for the current 1.1.0 patterns. Source: https://github.com/AssemblyAI/assemblyai-python-sdk/issues/106