entity#
- class besser.bot.core.entity.entity.Entity(name, base_entity=False, entries=None, description=None)[source]#
Bases:
object
The Entity core component of a bot.
Entities are used to specify the type of information to extract from user inputs. These entities are embedded in intent parameters.
- Parameters:
- entries#
The entity entries. If base_entity, there are no entries (i.e. None)
- Type:
list[EntityEntry] or None