-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for collecting usage data from plugin responses #613
Comments
hi @theomonnom what do you think about enabling usage attribution1 from plugins like this? is this already on your roadmap? |
On Slack https://livekit-users.slack.com/archives/C07FY8WHGPM/p1729050553562499 David pointed me to this issue. I just wanted to add that I'm also looking for usage data from plugin responses, specifically for realtime agent framework. The information is being sent on the wire through OpenAI websockets but is just not currently exposed by LiveKit. |
feature added in #984, will be released in 0.11.0 |
@davidzhao perhaps I've missed something but I took a brief look through #984 and didn't see anything related to exposing token usage for openai realtime plugin. was this issue only intended to bring usage data for voice pipeline agents for now? |
realtime plugin isn't exposing it yet.. tracking this effort in #1010 |
I need to track token usage on a per-user and per-session basis as I'm sure many others do as well.
It would be nice to configure llm like this:
and then you can store all of that usage data as needed for analytics and attribution
The text was updated successfully, but these errors were encountered: