Adding company specific information to Wanda (DRAFT)

The Wanda framework allows companies to integrate simple company-specific question-and-answer information into Wanda. This allows a company's employees to quickly and easily get answers from Wanda on simple company specific questions related to, for example, company HR policies, company travel and expense policies etc.

Company specific questions and answers are created in Microsoft Azure Language Studio and require no coding.

Each organization is responsible for creating, adding and maintaining its own company specific information for inclusion in Wanda.

Prerequisites

Before you can create a custom question and answering service you must have:

Creating a new Custom question answering service

You create a Custom question and answer service as follows:

Note that the Custom question and answer service is subject to Microsoft's pricing scheme over a certain free usage. Go to the pricing information for Custom question and answering for more details.

Once your custom bot deployment details are configured in Wanda, users will then be able to ask questions in Wanda related to the contents of your custom knowledge base.

The user can also choose to enter the help first by asking a help related question or saying 'help', and then ask a more specific policy questions such as What class of car can I rent? and Wanda should be able to provide the company-specific answer here as well.

Preparing the company specific information

You can feed content to the Custom question answering service by importing an existing document, referencing one or more URLs or entering Q and A pairs directly into the Edit knowledge base section.

Supported QnA source documents

The Custom question answering service accepts question and answer pairs in any of these formats:

How well the Custom question answering service is able generate a good knowledge base depends on how the original source document is structured. For best results, the information should be structured as a set of clearly defined question and answer pairs and answers should ideally be as concise as possible. Therefore, an existing policy document might need some rework, depending on how it's originally setup, to get it into the optimum format prior to being processed by the Azure Language Studio service. However, this is not typically a big job and is relatively easy to do depending on the source information.

Tips for creating a knowledge base

Refine and train the generated knowledge base

Once you've specified which document to use and/or added question and answer pairs manually, and the knowledge base has been generated, some refinement and training will likely be required to improve the responses to your users' questions. This is done by testing how well the knowledge base answers expected user questions, assigning or reassigning answers to these questions as required and adding alternative phrasing for the original questions to obtain a confidence score for the provided answers to be above 70.

Testing your knowledge base is done in the Test tab where you enter the kind of questions you expect your users to ask and see how these will be answered. For each question, the best answer is shown along with its confidence score, as well as other potential answers. You're able to choose the most appropriate answer and add alternative phrasings to the question.

Once you're done you then save and retrain the knowledge base, and when you're satisfied it works well you then publish.

Submitting your deployment details to Unit4 (to be finalised)

Once you have published your policy bot, you need to submit the deployment details to Unit4 for integration into the Wanda service.

To do this, simply copy and paste the contents of the Sample HTTP request shown in Deployment details in the Settings tab and send this in an email to wanda@u4pp.com.