Skip to content

Commit

Permalink
fix: Wrote inputs as string to facilitate parsing (#480)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Cheung <ivanmkc@google.com>
  • Loading branch information
2 people authored and Ace Nassri committed Nov 15, 2022
1 parent b3bee00 commit 4d8dbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automl/tables/predict.v1beta1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function main(
projectId = 'YOUR_GCP_PROJECT_ID',
computeRegion = 'REGION',
modelId = 'YOUR_MODEL_ID',
inputs = [{numberValue: 1}, {stringValue: 'value'}]
inputs = '[{"numberValue": 1}, {"stringValue": "value"}]'
) {
// [START automl_tables_predict]

Expand Down

0 comments on commit 4d8dbca

Please sign in to comment.