|
1 |
| -/** |
2 |
| - * Copyright 2019, Google LLC |
3 |
| - * Licensed under the Apache License, Version 2.0 (the "License"); |
4 |
| - * you may not use this file except in compliance with the License. |
5 |
| - * You may obtain a copy of the License at |
6 |
| - * |
7 |
| - * http://www.apache.org/licenses/LICENSE-2.0 |
8 |
| - * |
9 |
| - * Unless required by applicable law or agreed to in writing, software |
10 |
| - * distributed under the License is distributed on an "AS IS" BASIS, |
11 |
| - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 |
| - * See the License for the specific language governing permissions and |
13 |
| - * limitations under the License. |
14 |
| - */ |
| 1 | +// Copyright 2019 Google LLC |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
15 | 14 |
|
16 |
| -`use strict`; |
| 15 | +'use strict'; |
17 | 16 | async function main(
|
18 | 17 | projectId = 'YOUR_PROJECT_ID',
|
19 | 18 | computeRegion = 'YOUR_REGION_NAME',
|
20 | 19 | modelId = 'YOUR_MODEL_ID',
|
21 | 20 | modelEvaluationId = 'YOUR_MODEL_EVALUATION_ID'
|
22 | 21 | ) {
|
23 | 22 | // [START automl_natural_language_entity_get_model_evaluation]
|
24 |
| - const automl = require(`@google-cloud/automl`); |
25 |
| - const math = require(`mathjs`); |
| 23 | + const automl = require('@google-cloud/automl'); |
| 24 | + const math = require('mathjs'); |
26 | 25 | const client = new automl.v1beta1.AutoMlClient();
|
27 | 26 |
|
28 | 27 | /**
|
|
0 commit comments