-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
Hi @brainlid, first of all thanks for this project, it has been very useful to us so far.
We are running into the issue that we want to be able to track our token usage on OpenAI. This is given as part of the response, but I believe LangChain doesn't do anything with this information yet.
I am wondering if you would consider a PR to expose this data somehow.
And if you are, whether you have a preferred way to do this. We would probably be happy with simply making the raw response available somehow, as a trap door. But if you want to structure this data and translate it per API, we could also talk about that.
Thanks, Derek
Metadata
Metadata
Assignees
Labels
No labels