microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.38k stars 689 forks source link

Track or count the number of tokens being used #322

Closed shivakharbanda closed 7 months ago

shivakharbanda commented 7 months ago

Is there a way we can track the number of tokens being used throughout a session and be able to get the usage token summary for a particular session?

liqul commented 7 months ago

You may check this https://microsoft.github.io/TaskWeaver/docs/advanced/telemetry

shivakharbanda commented 7 months ago

Thank you