refactor(generative_ai/evaluation): migrate vertexai.generative_models to genai SDK#14430
Merged
amcolin merged 7 commits intoJul 24, 2026
Merged
Conversation
…ls to genai SDK - Migrated evaluation samples to use the new `google.genai` SDK instead of `vertexai.generative_models`. - Removed unnecessary dependencies from requirements after testing confirmed they are no longer needed.
Contributor
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
Contributor
Author
|
/gemini review |
Contributor
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
- Refactored sample to use newer genai SDK. - Cleaned requirements files from unneccessary dependencies.
Contributor
Author
XrossFox
marked this pull request as ready for review
July 20, 2026 22:16
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
XrossFox
marked this pull request as draft
July 20, 2026 22:17
Kef131
reviewed
Jul 21, 2026
Kef131
reviewed
Jul 21, 2026
Kef131
reviewed
Jul 21, 2026
Kef131
approved these changes
Jul 21, 2026
Kef131
left a comment
Contributor
There was a problem hiding this comment.
Thanks for attending the comments, LGTM
XrossFox
marked this pull request as ready for review
July 23, 2026 17:53
amcolin
requested changes
Jul 23, 2026
| @@ -0,0 +1,42 @@ | |||
| # Copyright 2021 Google LLC | |||
Contributor
There was a problem hiding this comment.
Please update to the current year
Addressed comments on PR.
holtskinner
approved these changes
Jul 24, 2026
amcolin
approved these changes
Jul 24, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
sample: generative_ai/evaluation to genai/evaluation
google.genaiSDK instead ofvertexai.generative_models.Fixes b/534795015
Checklist
Testing
Compliance & Style
Post-Approval Actions