do livekit agent sdk we can get till what audio need the user has heard to provide better context to the llm?
t
tall-airline-16756
08/07/2025, 7:39 AM
Thanks for reaching out, John. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
tall-airline-16756
08/07/2025, 7:40 AM
The LiveKit Agent SDK provides metrics related to audio processing, such as the duration of audio received by the Speech-to-Text (STT) model. However, it does not explicitly track or provide information about how much audio a user has heard for use in providing context to an LLM.
If you need this functionality, you may need to implement a custom solution to track and pass this information to your LLM.
Sources: RecognitionUsage | LiveKit Agents | livekit-agents/livekit/agents/voice/agent_session.py | UsageSummary | LiveKit Agents