The QnA (Question & Answer) skill allows you to create a natural conversation layer over your data, answering questions asked by your users. Answers can also prompt responses from the user and contribute to a conversation.
The QnA knowledge base can contain many topics, with each topic containing many questions and answers. Alternative phrasing for a question is also available giving the administrator the ability to link a number of questions and phrases with a single answer. In addition, you can also have follow-on QnA's, as well as actions linked to them based on the question, pre-empting the user's needs and providing additional guidance.
This article shows you how to set up knowledge and the QnA skill, covering the following topics:
Adding Knowledge
You can add knowledge in preparation of using it within your assistants by clicking the left-hand QnA link, within the main navigation. From here, you can start to add topics and question and answer pairs, including follow-ons, action links, and metadata (for use within flow).
By using topics, you can group your question and answers into logical collections. If necessary, QnA's can be moved between topics.
To create your first topic and QnA, please follow the steps below:
- Navigate to your QnA knowledge base by clicking QnA in the left-hand column.
- You will then need to create a new topic, click the + Add Topic button in the top-right of the page.
- Within the popup dialogue, enter a name for your topic followed by an optional description, then click OK to create your topic.
- Questions and Answers must exist within a topic. Click on your newly created topic.
- From here, you can now create your first QnA by clicking the + Add button, which appears next to your topic's name.
- Enter a question and answer for your QnA, followed by clicking the OK button. If required, there is more information about how to format your answer within the popup dialogue.
- You should now see your QnA on the main page. From here you can:
- Continue adding more QnA content.
- Save your changes.
- Generate Questions; additional questions can be generated from the answer(s) you provided.
- Move to Topic; select a topic from the drop-down list.
- Edit the QnA further, adding alternative phrasing, action links, follow-ons (if there are more QnA items), and metadata (for use in flow).
- Delete an existing QnA.
- From the main QnA page, there is a Help button that will provide more information about QnA and how to optimize and test your question-and-answer content.
Adding the QnA Skill to Your Assistant
Once you have some knowledge ready, you need to make sure that information is available to your assistant. Please follow the steps below to link your knowledge topics with your assistant.
- Navigate to your assistant. If you have not already created an assistant, please see the How to Create an Assistant page.
- Once you are in your assistant's main page, click the Add Skill panel.
- Click the Add Questions and Answers Skill button from the list of skills displayed.
- Once created, select the skill to view the details. This is where your linked topics will appear.
- To link your topics to your assistant, click the More button and select Linked Topics from the menu.
- Using the popup dialogue, this is where you can select one or more topics so that the selected knowledge is available to users chatting with your assistant.
- Once you have selected your desired topics, click the OK button to save your changes.
- You will now see your selected topics appearing within the assistant's QnA skill, meaning the knowledge contained within those topics is now available to your assistant.
That's it! Your assistant now has access to knowledge, which means it can start to answer your users' questions.
For more information about managing knowledge, please view the Advanced QnA Features page.
Share this article
Comments
0 comments
Article is closed for comments.