Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is where you define your Question, Answers, Labels, Question variations, and so on.

...

Synonyms

You can add synonyms to the Labels using the Synonyms button at the top right corner of the page while editing the contents of the KB.

...

On the Synonyms window, you can add/delete the synonyms for each Label.

Components

Primary question

...

The primary question also acts as a node so that the system can store sets the question context within the session until the next primary question is triggered.

Any ambiguous phrase such as “what are the symptoms?” that triggers a label intent and which is not a primary question will be linked to the question context (if present) such as “Cancer”. The corresponding answer (symptoms of cancer) is delivered to the user.

Label

Though not mandatory, it is highly recommended to add Labels for each Question & Answer.

...

Labels can be referenced in question variations.

...

Synonyms

You can define synonyms for each Label using the Synonyms button.

Architecture

For example, consider the below scenarios where you have the questions as shown in the screenshot below.

...

  1. The chatbot user asks an unambiguous question “What is diabetes?” as the utterance is associated with the Primary question (or one of its variations) the question context is set to this primary question.
    Here, if the user utterance is “diabetes“ then the label intent will get triggered. Since the diabetes label is associated with only one primary question, the question context is set to this primary question.

    1. The chatbot user then asks “What are the symptoms?“. This will trigger the label intent and since the label “Symptoms” is associated with two different Primary questions, it is an ambiguous question.
      Here, since there is not a single answer to this question, the chatbot will ask the user to rephrase the question.

  2. The chatbot user asks a question “What is cancer?” which triggers a primary question and sets the context.

    1. The chatbot user then asks “What are the symptoms?“, the bot will now understand that the chatbot user is asking about the “symptoms of cancer” and provides the respective answer.

Related Articles

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "experience-manageranswers"