const{BigQuery}=require('@google-cloud/bigquery');constbigquery=newBigQuery();constdataset=bigquery.dataset('my-dataset');constmodel=dataset.model('my-model');constextractedModel='gs://my-bucket/extracted-model';functioncallback(err,job,apiResponse){// `job` is a Job object that can be used to check the status of the// request.}//-// To use the default options, just pass a string or a {@linkhttps://googleapis.dev/nodejs/storage/latest/File.html File}object.//// Note: The default format is 'ML_TF_SAVED_MODEL'.//-model.createExtractJob(extractedModel,callback);//-// If you need more customization, pass an `options` object.//-constoptions={format:'ML_TF_SAVED_MODEL',jobId:'123abc'};model.createExtractJob(extractedModel,options,callback);//-// If the callback is omitted, we'll return a Promise.//-model.createExtractJob(extractedModel,options).then((data)=>{constjob=data[0];constapiResponse=data[1];});
const{BigQuery}=require('@google-cloud/bigquery');constbigquery=newBigQuery();constdataset=bigquery.dataset('my-dataset');constmodel=dataset.model('my-model');constextractedModel='gs://my-bucket/extracted-model';//-functioncallback(err,job,apiResponse){// `job` is a Job object that can be used to check the status of the// request.}//-// To use the default options, just pass a string or a {@linkhttps://googleapis.dev/nodejs/storage/latest/File.html File}object.//// Note: The default format is 'ML_TF_SAVED_MODEL'.//-model.createExtractJob(extractedModel,callback);//-// If you need more customization, pass an `options` object.//-constoptions={format:'ML_TF_SAVED_MODEL',jobId:'123abc'};model.createExtractJob(extractedModel,options,callback);//-// If the callback is omitted, we'll return a Promise.//-model.createExtractJob(extractedModel,options).then((data)=>{constjob=data[0];constapiResponse=data[1];});
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]