Skip to content

Commit 12cd0ff

Browse files
committed
feat(generative-ai): clear unused samples and update samples model name to 2.0
1 parent 7de4517 commit 12cd0ff

File tree

111 files changed

+65
-5702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+65
-5702
lines changed

ai-platform/snippets/batch-code-predict.js

Lines changed: 0 additions & 113 deletions
This file was deleted.

ai-platform/snippets/batch-prediction/batch-predict-bq.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function main(projectId, outputUri) {
3636
'bq://storage-samples.generative_ai.batch_requests_for_multimodal_input';
3737
const location = 'us-central1';
3838
const parent = `projects/${projectId}/locations/${location}`;
39-
const modelName = `${parent}/publishers/google/models/gemini-1.5-flash-002`;
39+
const modelName = `${parent}/publishers/google/models/gemini-2.0-flash-001`;
4040

4141
// Specify the location of the api endpoint.
4242
const clientOptions = {

ai-platform/snippets/batch-prediction/batch-predict-gcs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function main(projectId, outputUri) {
3939
'gs://cloud-samples-data/generative-ai/batch/batch_requests_for_multimodal_input.jsonl';
4040
const location = 'us-central1';
4141
const parent = `projects/${projectId}/locations/${location}`;
42-
const modelName = `${parent}/publishers/google/models/gemini-1.5-flash-002`;
42+
const modelName = `${parent}/publishers/google/models/gemini-2.0-flash-001`;
4343

4444
// Specify the location of the api endpoint.
4545
const clientOptions = {

ai-platform/snippets/batch-read-feature-values-sample.js

Lines changed: 0 additions & 136 deletions
This file was deleted.

ai-platform/snippets/batch-text-predict.js

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)