AI-102 Question 330
Single answerYou are developing a chatbot using Azure Bot Service and QnA Maker. You want to enhance the chatbot's responses by integrating chit-chat functionality to handle casual user inputs like 'How are you?' or 'Tell me a joke.' What is the correct way to add chit-chat to your knowledge base?
- A
Enable the chit-chat functionality directly in the Azure Bot Service settings.
- B
Add a prebuilt chit-chat dataset to your QnA Maker knowledge base.
- C
Write custom responses for chit-chat queries in your bot's code.
- D
Use Azure Cognitive Services Text Analytics to detect chit-chat intents and respond accordingly.
Show answer and explanation
Correct answer: B
Explanation
To add chit-chat functionality to your knowledge base, you can integrate a prebuilt chit-chat dataset provided by QnA Maker. This dataset includes casual conversational responses to general queries, enhancing the user experience without requiring manual coding or additional services.
- A. Incorrect.
Azure Bot Service does not have a built-in chit-chat feature. Chit-chat functionality is added at the QnA Maker knowledge base level.
- B. Correct.
QnA Maker provides prebuilt chit-chat datasets that can be easily added to your knowledge base. This is the correct way to handle chit-chat functionality.
- C. Incorrect.
While writing custom responses is possible, it is not the recommended or efficient method for handling chit-chat in Azure Bot Service.
- D. Incorrect.
Azure Cognitive Services Text Analytics is used for evaluating text sentiment, key phrases, and more, but it is not specifically designed for chit-chat detection or responses.