How should you complete the code?

Topic 3, Misc. Questions

DRAG DROP

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 Language Understanding models to include the new phrases.

How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: AddPhraseListAsync

Example: Add phraselist feature

var phraselistId = await client.Features.AddPhraseListAsync(appId, versionId, new

PhraselistCreateObject

{

EnabledForAllModels = false,

IsExchangeable = true,

Name = "QuantityPhraselist",

Phrases = "few,more,extra"

});

Box 2: PhraselistCreateObject

Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/client-libraries-rest-api

Latest AI-102 Dumps Valid Version with 80 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments