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

How to check the token usage #10

Open
wjt1080 opened this issue Apr 9, 2024 · 1 comment
Open

How to check the token usage #10

wjt1080 opened this issue Apr 9, 2024 · 1 comment

Comments

@wjt1080
Copy link

wjt1080 commented Apr 9, 2024

Within Groq library, they have a function called "chat_completion.choices[0].message.content" this shows the chat details about prompt, responses, etc, including the token usage.

Similarly in Langchain, we can track the usage through library function "get_openai_callback()" . So how do we track the token usage over groq if implementing with crewai

@samagra44
Copy link

You can go to https://console.groq.com/settings/logs (first log in with your registered ID and password). There, you can see all the details.

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

No branches or pull requests

2 participants