Skip to main content

Question Answering Integration

Using Graia CCaaS you can integrate your custom question answering databases from Microsoft to your Graia CCaaS digital channels.

Provision Language Question answering​

This section of the documentation provides a comprehensive walkthrough for the Azure Resources provisioning. You can read more about Language custom questions through the official Microsoft documentation found here

To begin provisioning Language Question Answering, follow these steps:

warning

You require Azure Portal permissions to perform these steps. Additionally, consult with your team about costs as Language Question Answering has its own cost.

  • Navigate to https://portal.azure.com
  • In the search bar of Azure Portal, type in Marketplace. This will take you to Azure's Marketplace.
  • In the Marketplace search bar, type in Language Service, then click Create.
  • Select the Custom question answering, then click the Continue to create your resource button located at the bottom left corner of your screen.
  • Select your azure Subscription, then select an existing resource group or create a new one. We recommend giving it a good name.
  • Select the region that is closest to your customers. Keep in mind that different regions might have different pricing options.
  • Provide a name for your new language service. Follow your internal Azure naming conventions, and keep your cloud environment clean!
  • Select your price tier. We do not recommend using an F0 plan for live customers, keep this for your internal testing.
  • Select the region for the Azure Search service, this will be created alongside your Language service.
  • Select the pricing for the Azure Search service. This varies based on your usage and amount of projects, also known as knowledge bases. We do not recommend using Free F for live customers.
  • Read the Responsible Use documentation, then click the checkbox to agree to the terms.
  • Your administrator may configure tagging policies, click the Tags tab to add the proper tags according to your internal policies.
  • Once you're all set, click the Review+Create button. Validation will begin.
  • If you passed all of your internal policies, validation will be green and the deployment will begin. This can take up to a few minutes.
note

If you require assistance, contact Graia support.

Once deployment is complete, you will need to grab 2 details required by Graia CCaaS. In the Azure Portal search bar, type in the name of the Language Service created earlier. On the left side of the screen, click the Keys and Endpoint menu item, then click Show Keys. Copy Key 1, this will be your Graia CCaaS Secret. Copy the Endpoint, this will be your Graia CCaaS Endpoint URL.

Managing projects & knowledge bases in Language Question Answering​

In Language Question Answering projects are a set of knowledge bases. In Graia CCaaS you reference a project's name instead of a Knowledge Base.

To create a project for the first time, navigate to https://language.cognitive.azure.com, then log in with your Azure credentials.

Click the Create New button and select the Custom Question Answering option.

Select one of the two options presented, then provide your project's name, description, source language, and default answer. You may change your Azure Language Resource or the Azure search Resource as well.

Click Review, then click Create Project. Your project is now created! Copy the exact name, you will need this in Graia CCaaS.

Now that you have a project, click on it, then click Add Source. You can fetch data from URLs, and files as well as built-in chit-chat knowledge bases.

You can add as many sources as your pricing allows you to.

Click on a source to begin reviewing, modifying, and testing questions. Once you are satisfied with the results, click Save.

On the left side of the screen, click Deploy Knowledge base. You must perform this step to push your changes to the live environment after testing them.

Adding Language Question Answering to Graia CCaaS​

In the Graia CCaaS portal, go to Integration > QnA Bots.

Click the Create button and fill in the details as follows:

Using QnA in Graia CCaaS Workflows​

Graia CCaaS Chat Workflows feature a QnA node type, this will allow you to select one of your existing QnA configurations and specify the next step in case the QnA falls below the confidence threshold and exits. Read more about Graia CCaaS's chat workflows and the QnA node here.

Generate new entries from unanswered questions​

When a QnA bot can't answer a customer's question, administrators and supervisors can use AI in the portal to generate new question-and-answer entries from that conversation's transcript. Review each generated entry before adding it, so the bot can answer the question next time.

Migrate from qnamaker to question answering​

Microsoft retired QnA Maker (qnamaker.ai). Knowledge bases that weren't migrated to Language Question Answering are no longer available. For new setups, use Knowledge bases with conversational bots.

Agent Assistance​

Graia CCaaS allows administrators to configure a Question Answering to assist agents. Generally, Question answering is used to save agent time by providing answers to end-customers. However, agents can benefit from the same functionality as well while engaged in a chat conversation with a customer.

You can specify a QnA configuration for a given chat queue node by setting the Agent assistance field to the QnA configuration you wish to use. This configuration will only be used to assist agents. Should you want to use the same configuration to aid customers as well, simply add a QnA bot node to your workflow.

Limitations​

The Graia CCaaS Language Question Answering integration is supported for Webchat, Viber bots, and Facebook Messenger.