AI-102 · Question #43
Drag and Drop Question You have 100 chatbots that each has its own Language Understanding model. Frequently, you must add the same phrases to each model. You need to programmatically update the…
The correct answer is AddPhraseListAsync; PhraseListCreateObject. To programmatically add phrase lists to a LUIS (Language Understanding) model, you use 'AddPhraseListAsync' to call the LUIS Authoring API and add the phrase list to the model, and 'PhraseListCreateObject' to define the phrase list object that contains the phrases, their name…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- AddPhraseListAsync
- PhraseListCreateObject
Explanation
To programmatically add phrase lists to a LUIS (Language Understanding) model, you use 'AddPhraseListAsync' to call the LUIS Authoring API and add the phrase list to the model, and 'PhraseListCreateObject' to define the phrase list object that contains the phrases, their name, and configuration settings. AddPhraseListAsync is the correct SDK method that accepts a PhraseListCreateObject and sends it to the LUIS service, while PhraseListCreateObject is the proper DTO (Data Transfer Object) class used to encapsulate the phrase list data before submission.
Topics
Community Discussion
No community discussion yet for this question.
