Entity
Last updated
Last updated
Here, you'll be diving into the specific details and nuances that make user messages unique. While intents capture the broader goals of user interactions, entities focus on the specific pieces of information users provide. Whether it's a location, a date, a product name, or any other specific detail, entities help your chatbot grasp and utilize these finer points to generate more precise and contextual responses. By defining and managing entities in this section, you equip your chatbot with the tools to engage in richer, more informed conversations.
To create a new entity:
Go to Chatbot > Entity
Click Create Entity
Enter Entity Name
Select Attribute:
Auto Detect - When disabled the entity will only be analyzed when the bot is asking for the entity. When enabled the entity will be automatically for all incoming messages.
Choose Format Type (see table below)
Click Create
Locate the entity you wish to edit from the list on the left side.
Update the necessary fields. Ensure that all product specifications adhere to the guidelines provided in the table above.
Once you've made the necessary changes, click the Update button.
Note: The format of the entity cannot be altered.
Choose the entity you intend to delete from the list on the left side.
Click on the trash bin icon to initiate the deletion process.
Confirm your intention by selecting Delete.
To search for an entity, begin by typing its name.
Input the desired name and either press Enter or click the Search button.
To return to the main entity page, clear the search input and either press Enter or click the Search button again.
Format
Details
Options
Detect list of pre-defined options
Configuration:
Options: Option entry, which can contain up to 20 synonyms (keywords) to search for.
Examples: Color, Brands
Number
Detect number
Configuration:
Min and Max: Minimum and Maximum value to be detected as the entity.
Examples: Age, Price
Date
Detect date
Examples: Birthday, Expiry date
Location
Detect location
Configuration:
Custom Locations:
Name: Name of the custom location
Latitude, Longitude: Location of the custom location
Synonyms: Keyword that represents the custom location
Examples: User Location, Home Address
Country
Detect Country
Examples: Home Country, Destination Country
Phone
Detect Phone Number
Examples: User Phone Number
Detect email
Configuration:
Domain: Comma-separated domain name of the email to limit the detection to. Leave this blank to detects email from any domain name.
Examples: User Email Address
Text
Capture incoming text
Examples: Asking for user feedback
Since the entity detects the whole incoming text, auto-detect cannot be turned on
Custom
Detect string with custom pattern
Configuration:
Pattern: Regular Expression that starts and ends with /
Click here to learn more about Regular Expression syntax.
Example: Serial Number, User ID