Skip to content

Commit

Permalink
update console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Sita04 committed Oct 21, 2024
1 parent e5f5840 commit 4350e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ai-platform/snippets/batch-prediction/batch-predict-bq.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function main(projectId, outputUri) {

// Create batch prediction job request
const [response] = await jobServiceClient.createBatchPredictionJob(request);
console.log('Response name: ', JSON.stringify(response.name, null, 2));
console.log('Response name: ', response.name);
// Example response:
// Response name: projects/<project>/locations/us-central1/batchPredictionJobs/<job-id>
}
Expand Down
2 changes: 1 addition & 1 deletion ai-platform/snippets/batch-prediction/batch-predict-gcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function main(projectId, outputUri) {

// Create batch prediction job request
const [response] = await jobServiceClient.createBatchPredictionJob(request);
console.log('Response name: ', JSON.stringify(response.name, null, 2));
console.log('Response name: ', response.name);
// Example response:
// Response name: projects/<project>/locations/us-central1/batchPredictionJobs/<job-id>
}
Expand Down

0 comments on commit 4350e58

Please sign in to comment.