Training the model

Every time we make changes to the knowledge base, it is wise to click Save and Train. This will ensure that our model is up to date, with the most current question-and-answer pairs.

Once we have trained the model, we can test it. This can be done by clicking the Test button on the right-hand side. This will present us with the following chat window:

Training the model

From this chat dialog, we can test some or all of our questions to verify that we get the correct answers. We can also improve the model by asking questions in different ways. In some cases, this will present us with the wrong answer.

If we have been presented with the wrong answer, we ...

Get Learning Microsoft Cognitive Services - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.