You can create custom entities for matching data specific to your agent.
For example, you could define a
vegetable entity type
that can match the types of vegetables
available for purchase with a grocery store agent.
Where to find this data
- Go to the Dialogflow Console.
- Select an agent.
- Select Entities in the left sidebar menu.
- Select the Custom tab for custom entities.
If you are building an agent using the API instead of the console, see the EntityTypes reference. The API field names are similar to the console field names. The instructions below highlight any important differences between the console and the API.
Create custom entities
To create a custom map entity:
- Click Create entity.
- Enter a name for the entity.
- Note that Define synonyms is already checked.
- Click the first row and provide a reference value in the left column.
- Click the next column or press Enter and provide synonyms.
- Continue adding rows for other entity entries.
- Click Save.
You can move, copy, or delete multiple entities using batch operations:
- Copy: Copies selected entities to the target agent.
- Move: Moves selected entities to the target agent.
- Delete: Permanently deletes the selected entities. This cannot be undone.
The following additional options are prompted for copy and move operations:
- Copy related entities: Moves or copies entities used in composite entities.
- Overwrite entities: Overwrites entities with the same name.
To copy, move, or delete multiple entities:
- Hover you mouse over the list and select one or more entities. This reveals the batch options.
- Choose the desired action.
- Select the desired options in the dialog.
- Click Start.
The following limitations apply:
- Custom entity names are unique for each agent.
Entity names should start with a letter
and can contain the following: