Skip to main content
Version: 1.4.0

Intent

This chapter will explain: Intent definition, and how to create and manage intents belonging to agents on the platform

basic concept

Intent name Intent name is what the user wants to accomplish. For example: obtaining weather conditions, obtaining methods for handling affairs, completing handling of affairs, etc.

Trigger When users want to express the same intention, they often use different questioning techniques. The agent will match the user's question with the similarity of all intents, and then identify the user's intent.

  • Intent trigger condition types include: Keyword and Examples

  • Keywords: ChatBot supports equal and contains two intent trigger conditions based on keyword rules.

    • Equal to (strict matching)——Strictly matching keywords: it works when the user's input and settings are exactly equal.

    • Include——Contains keywords: It will work when there is one of the segments that matches the setting in the user's input.

  • Examples: ChatBot supports intent trigger conditions that match similar statements based on semantic similarity.

    • A similar statement is equivalent to an example sentence, which is used to tell the robot what can trigger this intent. In the real scenario, it is recommended to add more than 20 generalized similar statements, so that the robot will have a better understanding of the intention.
  • Examples with slots: Plain text examples with similar sentence structures can be aggregated through similar statements with word slots

    • Plain text examples with similar sentence structure but redundant:

      - Can I return the apple?
      - Can I return the peaches?
      - Can I return the pear?
    • Example with word slot, "apple" can be replaced with any fruit expression

      - I want to withdraw [apple]{"entity": "fruit"}, is it okay?

Preset Intent

In addition to business-related intentions that require developers to build and maintain themselves, ChatBot has set some default intentions to help users use in common scenarios.

Out-of-scope

In a real scenario, the user's message may have nothing to do with any existing intentions. At this time, the robot's response is not in line with expectations, so no intention should be triggered.

When unintentional is triggered, the robot will directly return the user to the system's preset skills and reply. The name cannot be modified without intention, only similar questions and keywords can be added.

Generally speacking, unintentional content includes abusive sentences, expressions that cannot be distinguished but are easily triggered by mistakes, and expressions that are easily triggered by mistakes outside the business scope.

Platform operation

Edit and CREATE

  1. Click "CREATE" to edit the intent, where the name of the intent is required
  1. In the input box under "Trigger-Example", enter a similar statement and click the "Add" button or click the Enter key to add.

  2. In the input box under "Keywords-Equal to/Contains", enter the keywords that meet the requirements of the intended meaning and press Enter to add.

caution

The similar statement of the current intention cannot be edited. If you need to change a similar statement, please delete the wrong similar statement and create a new one.