Test your knowledge base interactively in QnA Maker
Testing your QnA Maker knowledge base is an important part of an iterative process to improve the accuracy of the responses being returned. You can test the knowledge base through an enhanced chat interface that also allows you make edits.
Test answer matching
- Access your knowledge base by selecting its name on the My knowledge bases page.
To access the Test slide-out panel, select Test in your application's top panel.
Enter a query in the text box and select Enter.
The best-matched answer from the knowledge base is returned as the response.
Clear test panel
To clear all the entered test queries and their results from the test console, select Start over at the upper-left corner of the Test panel.
Close test panel
To close the Test panel, select the Test button again. While the Test panel is open, you cannot edit the Knowledge Base contents.
You inspect details of the test result in the Inspect panel.
With the Test slide-out panel open, select Inspect for more details on that response.
The Inspection panel appears. The panel includes the top scoring intent as well as any identified entities. The panel shows the result of the selected utterance.
Correct the top scoring answer
If the top scoring answer is incorrect, select the correct answer from the list and select Save and Train.
Add alternate questions
You can add alternate forms of a question to a given answer. Type the alternate answers in the text box and click enter to add them. Select Save and Train to store the updates.
Add a new answer
You can add a new answer if any of the existing answers that were matched are incorrect or the answer does not exist in the knowledge base (no good match found in the KB). Enter the new answer to current question in the text box and press enter to add it.
Select Save and Train to persist this answer. A new question-answer pair has now been added to your knowledge base.
All edits to your knowledge base only get saved when you press the Save and Train button.