-
Notifications
You must be signed in to change notification settings - Fork 182
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
Show OSS models (and tracking) in LiteLLM application #1109
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
Could we also add a link to https://litellm.vercel.app/docs/completion/token_usage#5-completion_cost perhaps on the top in the markdown description so that users can refer to the model cost setup and configurability within LiteLLM and down the road see them in TruLens dashboard?
72e81b8
to
110319a
Compare
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
We already use litellm.completion_cost in the background and get the cost tracking, part of what I'm trying to show in this change. Adding the leaderboard output to show this. Would it still be useful to link to the litellm cost references? Here's the line reference:
|
Cool! yes the added cell output looks good to me and should be plenty clear for the user hopefully. |
Ahh - I see the gh issue where they're looking to track a model not in this list. Added the link to this list in the header to make this clear! |
* oss models in app * import change * fix dims issue, pass embeddings manually * keep some output * remove settings print * link model list for cost tracking
* oss models in app * import change * fix dims issue, pass embeddings manually * keep some output * remove settings print * link model list for cost tracking
Items to add to release announcement: