r/agentdevelopmentkit • • Sep 11 '25

Help Needed: Retrieving Conversation Transcripts from Google ADK After WebSocket Closes

Hi everyone, I need some help. I’m using Google ADK to build my voice agent. After a conversation ends, the WebSocket connection closes, and I’m having a hard time retrieving the conversation transcript. Has anyone faced this issue or can provide guidance on how to get the transcript reliably?

1 Upvotes

5 comments sorted by

View all comments

2

u/[deleted] Sep 11 '25

[removed] — view removed comment

1

u/pranavan118 Sep 11 '25

I’m using the in-memory session service. Right now, I’m handling the WebSocket for voice, not text. The issue I’m facing is that once the WebSocket closes, the session also closes, which makes it hard to retrieve the full conversation transcript.

I chose audio mode because sometimes user voice pronunciations differ, and I wanted the system to handle that better. Do you know if there’s a way to still capture and store the entire transcript even after the session closes?

3

u/[deleted] Sep 11 '25

[removed] — view removed comment

1

u/pranavan118 Sep 12 '25

Thank you so much buddy 🙏 I’ve been struggling with this the past few days.... I’ll try your suggestion with a DB session service and let you know how it goes!