do livekit agent sdk we can get till what audio ne...
# ask-ai
r
do livekit agent sdk we can get till what audio need the user has heard to provide better context to the llm?
t
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.
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