ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 103 - AI-102 discussion

Report
Export

You are developing the chatbot.

You create the following components:

A QnA Maker resource

A chatbot by using the Azure Bot Framework SDK

You need to integrate the components to meet the chatbot requirements.

Which property should you use?

A.
QnAMakerOptions.StrictFilters
Answers
A.
QnAMakerOptions.StrictFilters
B.
QnADialogResponseOptions.CardNoMatchText
Answers
B.
QnADialogResponseOptions.CardNoMatchText
C.
QnAMakerOptions.RankerType
Answers
C.
QnAMakerOptions.RankerType
D.
QnAMakerOptions.ScoreThreshold
Answers
D.
QnAMakerOptions.ScoreThreshold
Suggested answer: C

Explanation:

Scenario: When the response confidence score is low, ensure that the chatbot can provide other response options to the customers. When no good match is found by the ranker, the confidence score of 0.0 or "None" is returned and the default response is "No good match found in the KB". You can override this default response in the bot or application code calling the endpoint.

Alternately, you can also set the override response in Azure and this changes the default for all knowledge bases deployed in a particular QnA Maker service.

Choosing Ranker type: By default, QnA Maker searches through questions and answers. If you want to search through questions only, to generate an answer, use the RankerType=QuestionOnly in the POST body of the GenerateAnswer request.

Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/concepts/best-practices

asked 26/09/2024
Feroz Khan
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first