Skip to content
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 token count to the Chat history table #168

Open
vmesel opened this issue Mar 23, 2024 · 2 comments
Open

Add token count to the Chat history table #168

vmesel opened this issue Mar 23, 2024 · 2 comments

Comments

@vmesel
Copy link
Member

vmesel commented Mar 23, 2024

No description provided.

@lgabs
Copy link
Collaborator

lgabs commented Apr 5, 2024

I think it's possible to monitor this manually, but langsmith already helps with that in a very elegant way in terms of observability, including latency and other metrics. This is a very good way of monitoring the application for dialog developers. Maybe this issue would be about logging this kind of metric in the history table for other purposes?

Here is an example:

image

@vmesel
Copy link
Member Author

vmesel commented Apr 7, 2024

@lgabs I didn't know about this feature on langsmith, @avelino told me you were using it and I got really excited to know more about it.

My original plan was just to look at costs on tokens and how we are spending them through messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants