-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add custom telemetry context upon client creation
- **Description:** Add custom user agent to Vertex AI SDK initialization. Allows API usage metrics collection. - Follow-up to langchain-ai/langchain#12168 - **Dependencies:** `google-cloud-aiplatform` to be updated in PR googleapis/python-aiplatform#3261 - Before Merging, Update `raise_vertex_import_error(minimum_expected_version: str = "1.38.0")` to the actual version once the SDK is updated. - https://pypi.org/project/google-cloud-aiplatform/ Tested locally successfully when installing from source PR. DO NOT MERGE - Until googleapis/python-aiplatform#3261 is Released and `minimum_expected_version` is updated to correct version.
- Loading branch information
1 parent
8d13520
commit 26c2487
Showing
5 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters