In a Agent session how to get call summary from Ag...
# ask-ai
m
In a Agent session how to get call summary from Agent without function_tool
t
Thanks for reaching out, Rajadurai. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I’m happy to help you get a call summary from an Agent session without using the
function_tool
. You can do this by working directly with the conversation history from the agent's chat context. Here’s a simple way to approach it: • Start by accessing the conversation history through the agent's chat context, which holds structured items like messages, function calls, and outputs. • Then, manually go through these items to pick out the important details for your summary. • Finally, you can use a language model (LLM) to create a summary based on the conversation you’ve processed. If you’d like, I’m here to walk you through detailed steps or help with any specific part of this process. Just let me know! Sources: livekit-agents/livekit/agents/voice/agent.py | Pipeline nodes and hooks | LiveKit Docs | Agent-assisted warm transfer | LiveKit Docs