async function create_batch_prediction_gemini_bq() {
    const bqSource = new aiplatform.BigQuerySource({
      inputUri: inputUri,
    });

    const inputConfig = new aiplatform.BatchPredictionJob.InputConfig({
      bigquerySource: bqSource,
      instancesFormat: 'bigquery',
    });

    const bqDestination = new aiplatform.BigQueryDestination({
      outputUri: outputUri,
    });

    const outputConfig = new aiplatform.BatchPredictionJob.OutputConfig({
      bigqueryDestination: bqDestination,
      predictionsFormat: 'bigquery',
    });

    const batchPredictionJob = new aiplatform.BatchPredictionJob({
      displayName: 'Batch predict with Gemini - BigQuery',
      model: modelName, // Add model parameters per request in the input BigQuery table.
      inputConfig: inputConfig,
      outputConfig: outputConfig,
    });

    const request = {
      parent: parent,
      batchPredictionJob,
    };

    // Create batch prediction job request
    const [response] = await jobServiceClient.createBatchPredictionJob(request);
    console.log('Response name: ', response.name);
    // Example response:
    // Response name: projects/<project>/locations/us-central1/batchPredictionJobs/<job-id>
  }
TODO(developer):  Uncomment/update these variables before running the sample.