Skip to content

feat(generative-ai): clear unused samples and update gemini model name #4067

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

Merged
merged 24 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
12cd0ff
feat(generative-ai): clear unused samples and update samples model na…
msampathkumar Apr 8, 2025
a5455c7
Merge branch 'main' into gemini_migrate_samples
msampathkumar Apr 16, 2025
eba0cfe
Merge branch 'main' into gemini_migrate_samples
davidcavazos Apr 16, 2025
477b268
fix: restore package.json
gericdong Apr 17, 2025
b53a3a6
fix: Update Google Search example
gericdong Apr 17, 2025
2f937e3
Fix test case for grounding
gericdong Apr 17, 2025
f5be195
Delete unused tests
gericdong Apr 21, 2025
a44dc33
fix: replace GPU type
gericdong Apr 22, 2025
9ad9b37
fix: restore ai-platform/snippets/delete-dataset.js
gericdong Apr 22, 2025
d70fefa
Merge branch 'main' into gemini_migrate_samples
gericdong Apr 22, 2025
88f785e
fix: restore cancel-custom-job.js
gericdong Apr 22, 2025
67b5c93
fix: restore 5 files
gericdong Apr 22, 2025
8fee3d5
fix: restore more deleted files
gericdong Apr 22, 2025
3a0164d
fix: delete unused tests and restore some more files
gericdong Apr 22, 2025
a278a52
fix: restore some more files
gericdong Apr 22, 2025
83df016
fix: Set location to us-central1 instead of using default global
gericdong Apr 22, 2025
bb5911c
fix: set location to us-central1
gericdong Apr 23, 2025
1d05bb8
Removed unused tests
gericdong Apr 23, 2025
b4f287f
Increase timeout for batch prediciton
gericdong Apr 23, 2025
a5d6328
Skip text sentiment analysis tests
gericdong Apr 23, 2025
8096ab3
Removed customer job tests as the image no longer exists
gericdong Apr 24, 2025
afc9db0
Removed un-supported tests
gericdong Apr 24, 2025
5c04c91
Skip unstable deploying model test
gericdong Apr 24, 2025
be3abf3
Merge branch 'main' into gemini_migrate_samples
gericdong Apr 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 0 additions & 113 deletions ai-platform/snippets/batch-code-predict.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function main(projectId, outputUri) {
'bq://storage-samples.generative_ai.batch_requests_for_multimodal_input';
const location = 'us-central1';
const parent = `projects/${projectId}/locations/${location}`;
const modelName = `${parent}/publishers/google/models/gemini-1.5-flash-002`;
const modelName = `${parent}/publishers/google/models/gemini-2.0-flash-001`;

// Specify the location of the api endpoint.
const clientOptions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function main(projectId, outputUri) {
'gs://cloud-samples-data/generative-ai/batch/batch_requests_for_multimodal_input.jsonl';
const location = 'us-central1';
const parent = `projects/${projectId}/locations/${location}`;
const modelName = `${parent}/publishers/google/models/gemini-1.5-flash-002`;
const modelName = `${parent}/publishers/google/models/gemini-2.0-flash-001`;

// Specify the location of the api endpoint.
const clientOptions = {
Expand Down
115 changes: 0 additions & 115 deletions ai-platform/snippets/batch-text-predict.js

This file was deleted.

62 changes: 0 additions & 62 deletions ai-platform/snippets/cancel-batch-prediction-job.js

This file was deleted.

Loading
Loading