Recognize entities in text

更新时间:
复制 MD 格式

This topic explains how to configure the Recognize Entities in Text component. The component automatically recognizes specific data, known as entities, so you can reuse the extracted information in your flow.

Component information

Icon

Name

识别文本中的实体@1x

Recognize Entities in Text

Prerequisites

To configure this component, access the flow canvas by using an existing flow or creating a new one.

  • Go to the canvas of an existing flow

    In the Chat Flow > Flow Management > Flow Name

  • Create a new flow to open its canvas. For more information, see Create a flow.

Procedure

  1. Click the Recognize Entities in Text component icon on the canvas to open the properties panel on the right.

    In the Basic Settings section of the properties panel, set Identification Name to incomingMessage. To add an identifier, click Add Identifier in the Identifier Settings section. When you are done, click Save in the upper-right corner.

  2. Configure the component parameters as needed. For details, see Parameters.

  3. After you finish the configuration, click Save. In the dialog box that appears, click Save.

Parameters

Parameter

Description

Identification Name

Select the variable you want to recognize from the drop-down list. This list includes both default and user-defined variables. To learn how to add an available variable, see How to use available variables.

Variable

Click Add Identification Code to define a custom variable name. Once added, the new variable appears in the list of available variables.

Entity

Click Add Identification Code, and then select an Entity to recognize from the drop-down list. The component currently supports Mobile Number and Email Address. The component saves the recognized entity as the value of the custom variable.