Hi everyone, Accordong to you what's the best way...
# egress
h
Hi everyone, Accordong to you what's the best way, to have the transcription of the conversation in a room between the agent and the caller? I'll try Twilio's pluging but maybe there's a way to have it through livekit. Thanks in advance.
r
a
There is an agent lifecycle hook you can plug into if you are using the AI agent. You can then use it to get the transcription. If you are talking about a live agent, then I'm not sure.
👍 1
h
@acoustic-lifeguard-96878 Yes it's for an ai voice agent
@acoustic-lifeguard-96878 I'll look into it.
a
I think this is the one you are looking for:
Copy code
@session.on("conversation_item_added")
def _on_user_speech_committed(event: ConversationItemAddedEvent)
There is another that is for user input only. I used this one for vm detection: user_input_transcribed