Skip to content

Commit 91a2c8a

Browse files
Merge pull request #234733 from pritamso/Broken-link-fix-aahill
LinkFix: Broken link removed
2 parents 6fc6032 + 6694ccb commit 91a2c8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/LUIS/includes/sdk-nodejs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Put the following method above the `quickstart` method to find the Quantity sube
196196
197197
In order to determine an utterance's intention and extract entities, the app needs examples of utterances. The examples need to target a specific, single intent and should mark all custom entities. Prebuilt entities do not need to be marked.
198198

199-
Add example utterances by creating a list of [ExampleLabelObject](/javascript/api/@azure/cognitiveservices-luis-authoring/examplelabelobject) objects, one object for each example utterance. Each example should mark all entities with a dictionary of name/value pairs of entity name and entity value. The entity value should be exactly as it appears in the text of the example utterance.
199+
Add example utterances by creating a list of ExampleLabelObject objects, one object for each example utterance. Each example should mark all entities with a dictionary of name/value pairs of entity name and entity value. The entity value should be exactly as it appears in the text of the example utterance.
200200

201201
:::image type="content" source="../media/quickstart-sdk/labeled-example-machine-learned-entity.png" alt-text="Partial screenshot showing the labeled example utterance in the portal. ":::
202202

@@ -210,7 +210,7 @@ Once the model is created, the LUIS app needs to be trained for this version of
210210

211211
The [train.trainVersion](/javascript/api/@azure/cognitiveservices-luis-authoring/train#trainversion-string--string--msrest-requestoptionsbase-) method needs the app ID and the version ID.
212212

213-
A very small model, such as this quickstart shows, will train very quickly. For production-level applications, training the app should include a polling call to the [get_status](/javascript/api/@azure/cognitiveservices-luis-authoring/train#getstatus-string--string--msrest-requestoptionsbase-) method to determine when or if the training succeeded. The response is a list of [ModelTrainingInfo](/javascript/api/@azure/cognitiveservices-luis-authoring/modeltraininginfo) objects with a separate status for each object. All objects must be successful for the training to be considered complete.
213+
A very small model, such as this quickstart shows, will train very quickly. For production-level applications, training the app should include a polling call to the [get_status](/javascript/api/@azure/cognitiveservices-luis-authoring/train#getstatus-string--string--msrest-requestoptionsbase-) method to determine when or if the training succeeded. The response is a list of ModelTrainingInfo objects with a separate status for each object. All objects must be successful for the training to be considered complete.
214214

215215
[!code-javascript[Train the app](~/cognitive-services-quickstart-code/javascript/LUIS/sdk-3x/index.js?name=TrainAppVersion)]
216216

@@ -231,7 +231,7 @@ Use an msRest.ApiKeyCredentials object with your key, and use it with your endpo
231231

232232
## Get prediction from runtime
233233

234-
Add the following code to create the request to the prediction runtime. The user utterance is part of the [predictionRequest](/javascript/api/@azure/cognitiveservices-luis-runtime/predictionrequest) object.
234+
Add the following code to create the request to the prediction runtime. The user utterance is part of the predictionRequest object.
235235

236236
The **[luisRuntimeClient.prediction.getSlotPrediction](/javascript/api/@azure/cognitiveservices-luis-runtime/predictionoperations#getslotprediction-string--string--predictionrequest--models-predictiongetslotpredictionoptionalparams-)** method needs several parameters such as the app ID, the slot name, and the prediction request object to fulfill the request. The other options such as verbose, show all intents, and log are optional.
237237

0 commit comments

Comments
 (0)