System entities
System entities are Chatlayer's built-in predefined entities that match a certain general pattern that is widely used.
You can think of system entities as match entities that are pre-made just because they fit regular, typical patterns that would be widely used inside bot conversations.
Chatlayer.ai supports the following system entities:
Variable name | Example input by user | Example result in session |
| "ilovebots@chatlayer.ai" |
|
| "+32 487 23 02 03" |
|
| "5th" |
|
| "5 euro" |
|
| "5 kilometers" |
|
| "eighty eight" |
|
| "3 liters" |
|
| "80C" |
|
| "3 pm tomorrow" |
|
|
| |
| "3 hours" |
|
You should never overwrite System Entities yourself – they are automatically overwritten by the last detected variable (if any values are detected). So instead, save the System Entity to a variable of your own choosing outside the sys
or internal
namespaces.
Use system entities
To use system entities in your bot:
Create a Collect input block. For instance, make it as a block that asks for the user email.
Under Capture use response as, scroll down until you find the list of System entities.
Select the system entity of your choice. For this example, we would select
@sys.email
.
Under Save variable as, choose a variable to store the entity value.
Click Save.
Last updated