Knowledge base

Updated at:

In calls with an outbound bot, a knowledge base answers questions that are outside the main flow. You can add business-specific questions as entries to the bot's knowledge base. When a user's response matches a configured entry, the bot uses the configuration associated with that entry to engage in a multi-turn Q&A session with the user. This topic describes how to add entries and knowledge base flows in the console.

Background information

The system provides a set of pre-configured, general-purpose knowledge base entries. If these do not meet your needs, you can delete them and add your own.

Configuring a knowledge base flow is nearly identical to configuring a main flow, with the following key differences:

  • Each knowledge base flow handles simple, interactive conversations. You cannot chain multiple knowledge base flows together.

  • When a knowledge base flow reaches a jump node, it triggers the configured action. Actions include wait for user reply, transfer, hang up, and jump to original main flow.

Add an entry

  1. Log on to the Alibaba Cloud Intelligent Contact Center console.

  2. In the left-side navigation pane, choose Small Model Communication > Intelligent Contact Bot > Script Management.

  3. On the script management page, click a script or click Configure in the upper-right corner of the script, and then click the Knowledge Base tab.

  4. Click Add New Entry. The following table describes the parameters.

    Parameter

    Description

    Type

    • Business question: A question that is highly specific to a particular scenario or industry.

    • General question: A question that can be encountered in any scenario or industry.

    Keywords

    Regular expressions are supported. Separate multiple keywords with a line break.

    User utterance

    Powered by natural language understanding (NLU). Separate multiple phrasings with a line break.

    Response method

    • Single-turn response: When this entry is matched, the bot replies with the configured script.

    • Knowledge base flow: When this entry is matched, the bot uses the associated knowledge base flow to interact with the user.

    Bot script

    Specifies the script for single-turn responses when this entry is matched. You can configure multiple scripts to provide different answers to the same question, making the bot's responses more varied. This is useful when a user asks the same question repeatedly, as the bot can cycle through the configured answers to provide clarification.

    Action

    Specifies the action to perform after the bot's single-turn response. Actions include wait for user reply, transfer, hang up, and jump to original main flow.

    • Wait for user reply: After responding, the bot waits for the user's reply before continuing the conversation.

    • Jump to original main flow: After responding, the bot immediately jumps to a specified point in a flow without waiting for the user's reply. The jump options include Jump back to the original node, Jump back to the start of the original main flow, and Jump to the start of another main flow.

Add a knowledge base flow

A knowledge base flow is a sequence of interactive steps the bot follows when it matches an associated entry.

  1. Log on to the Alibaba Cloud Intelligent Contact Center console.

  2. In the left-side navigation pane, choose Intelligent Contact Bot > Script Management.

  3. On the script management page, click a script or click Configure in the upper-right corner of the script, and then click the Knowledge Base tab.

  4. Select Knowledge Base Flow and click Add New Flow.

  5. Click Save and Edit Flow.