ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 77 - AI-102 discussion

Report
Export

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.

Question 77
Correct answer: Question 77

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

asked 26/09/2024
Lakshmana Mittadoddi
39 questions
User
0 comments
Sorted by

Leave a comment first