function play() { var pn = '414649711441'; var host = 'sample.sentiment'; var predictionString = 'do not Want to go to the park this weekend?'; var prediction = Prediction.Hostedmodels.predict({ input: {csvInstance: [predictionString]}}, pn,host); Logger.log(prediction.outputLabel); predictionString = 'You are very nice!'; prediction = Prediction.Hostedmodels.predict( { input: { csvInstance: [predictionString] } }, pn,host); Logger.log(prediction.outputLabel); }