System entities

System entities are pre-built entities provided by Dialogflow that facilitate handling the most popular common concepts.

This agent uses the @sys.color system entity to find the color in your reply.

Enter your favorite color.

On the surface it looks like the agent just repeated what you said, but the intent uses the @sys.color system entity, which allows it to pick out the color you mentioned.

If you had said “My favorite color is Crimson”, the agent would still be able to find the color, since "My favorite color is ..." is provided as a training phrase.

You can see a full list of Dialogflow's system entities in System Entities. Below are some examples of the different types of system entities.

System mapping

These system entities have reference values. For example, matches common date references such as "January 1, 2015" or "The first of January of 2015" and returns a reference value in ISO-8601 format: 2015-01-01T12:00:00-03:00.

System enum

These entities have no reference value. For example, @sys.color matches most popular colors and returns the matched color as it is without mapping it to any reference value. For example, shades of red, such as "scarlet" or "crimson", won't be mapped to "red" and will return their original values "scarlet" and "crimson".

System composite

These entities can contain other entities with aliases and return object type values. For example, @sys.unit-currency is meant for matching amounts of money with an indication of a currency name like, "50 euros" or "twenty dollars and five cents". It returns an object type value consisting of two attribute-value pairs: {"amount":50,"currency":"EUR"}