How do life cycle options work?

The life cycle of an entity in Digital DX defines the period during which the bot remembers the user's answer.

You can define a life cycle for the entity as well as for each property of the entity. Properties can have a life cycle that is shorter than the life cycle of the entity as a whole.

Table 1. Entity life cycle options
Life cycle option Description
Persistent The bot remembers the user's answers for the duration of the session, that is, until the user closes the browser.
Topic The bot remembers the user's answers as long as the articles returned to the user's questions contain the entity. So as soon as the user asks the bot for an article that does not use the entity, the bot deletes the user's answer from its memory.
Intent The bot remembers the user's answer as long as the user is in the same intent. So as soon as the user asks the bot something else, the bot deletes the user's answer from its memory even if the answer to the user's next question contains the same entity.
Statement The bot remembers the user's answer until another question is asked from the user. For example, if the bot asks two questions, like What is your first name? and What is your email address?, the bot forgets the user's first name before the second question is asked.