clever-table-40023
09/16/2025, 10:12 PMconversation_item_added event) and the iOS SDK (the segment ID since the app is subscribed to the transcriptions).
The first one seems to be generated via the OpenAI LLM we’re using and the second one seems to be generated in livekit.agents.voice.room_io._output._ParticipantStreamTranscriptionOutput._reset_state (starts with "SG_").
Is there a way to match them? Is there a way to replace one with the other?
I’ve been trying to figure this out in the Python LiveKit Agent, and what i found is I can actually extract the agent.session._room_io._user_tr_output._ParticipantTranscriptionOutput__outputs[1]._current_id which are the "SG_" IDs during the conversation_item_added handling, but they do not match the IDs on the client anyway 😞clever-table-40023
09/16/2025, 10:14 PM