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

Adding Labels in langchain for gemini billing and tracebility #732

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Vashu-Garg
Copy link

PR Description

Relevant issues

Type

πŸ†• New Feature
πŸ› Bug Fix
🧹 Refactoring
πŸ“– Documentation
πŸš„ Infrastructure
βœ… Test

Changes(optional)

Testing(optional)

Note(optional)

@Vashu-Garg Vashu-Garg changed the title Adding Labels in langchain for gemini billing and tracebility, reference link: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/add-labels-to-api-calls Adding Labels in langchain for gemini billing and tracebility Feb 13, 2025
@Vashu-Garg
Copy link
Author

@lkuligin
Copy link
Collaborator

@Vashu-Garg please, check linter errors, and adjust the integration test please to make sure it always works

Copy link
Collaborator

@lkuligin lkuligin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's adjust the integration test, please

@Vashu-Garg
Copy link
Author

@lkuligin , Issue addressed

@Vashu-Garg Vashu-Garg requested a review from lkuligin February 17, 2025 14:23
@Sreeshbk
Copy link

reference link: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/add-labels-to-api-calls

@lkuligin can you help here with this PR. Google has added label option for tracking the llm call billing by tags. Since there are many solution using Gemini, this can help us to costing tracking by application

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

Successfully merging this pull request may close these issues.

3 participants