nice-napkin-15455
02/28/2025, 11:05 AMsegments
in TranscriptionEvent always a list of 1 element?gray-monkey-83525
02/28/2025, 11:05 AMsegments
in a TranscriptionEvent
can contain multiple elements. According to the LiveKit Python SDK documentation, the Transcription
class includes a segments
attribute, which is a list of TranscriptionSegment
objects. This suggests that multiple segments can be included in a single transcription event.
Would you like more detail on how these segments are typically used or processed?
Sources:
- LiveKit Python SDK documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.nice-napkin-15455
02/28/2025, 11:06 AMgray-monkey-83525
02/28/2025, 11:07 AMsegments
attribute is designed to hold multiple TranscriptionSegment
objects, in practice, you might often encounter it as a list with a single element. This could be due to the way transcription data is processed or emitted in your specific setup or use case.
Would you like more detail on potential reasons or configurations that might affect this behavior?
Sources:
- https://docs.livekit.io/client-sdk-android/livekit-android-sdk/io.livekit.android.events/-room-event/-transcription-received/transcription-segments.html#livekit-android-sdk-nav-submenu-10-14-2-4
Note: I wasn’t able to find highly relevant data sources, but above are a few potentially relevant links. 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.