Skip to content

Commit f4a129d

Browse files
author
Guiners
committed
adding new samples
1 parent cd1810c commit f4a129d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

genai/test/batchpredict-embeddings-with-gcs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const storage = new Storage();
2323
const GCS_OUTPUT_BUCKET = 'nodejs-docs-samples-tests';
2424

2525
const projectId = process.env.CAIP_PROJECT_ID;
26-
const location = process.env.GOOGLE_CLOUD_LOCATION || 'global';
26+
const location = 'us-central1';
2727
const sample = require('../batch-prediction/batchpredict-embeddings-with-gcs');
2828

2929
async function getGcsOutputUri() {

genai/test/batchpredict-with-bq.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const bigquery = new BigQuery();
2323
const BQ_OUTPUT_DATASET = `${process.env.BQ_OUTPUT_DATASET}.gen_ai_batch_prediction`;
2424

2525
const projectId = process.env.CAIP_PROJECT_ID;
26-
const location = process.env.GOOGLE_CLOUD_LOCATION || 'global';
26+
const location = 'us-central1';
2727
const sample = require('../batch-prediction/batchpredict-with-bq');
2828

2929
async function getBqOutputUri() {

genai/test/batchpredict-with-gcs.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const storage = new Storage();
2323
const GCS_OUTPUT_BUCKET = 'nodejs-docs-samples-tests';
2424

2525
const projectId = process.env.CAIP_PROJECT_ID;
26-
const location = process.env.GOOGLE_CLOUD_LOCATION || 'global';
26+
const location = 'us-central1';
2727
const sample = require('../batch-prediction/batchpredict-with-gcs');
2828

2929
async function getGcsOutputUri() {

0 commit comments

Comments
 (0)