Skip to content

forget_shared

Removes shared commitments for a predicate or a particular proposition. Facts in private beliefs remain unchanged.

<forget_shared predicate="colour"/>
<forget_shared>
  <proposition predicate="means_of_transport" value="train"/>
</forget_shared>
<forget_shared>
  <action_status action="book_room" status="done"/>
</forget_shared>

The action_status child requires Tala 31.3.0 or later. Verify that the DME deployment uses a compatible Tala version before deploying a DDD with this form.

Attributes and children

Attribute Meaning
predicate Optional predicate whose shared propositions should be forgotten.

With predicate and no child, all shared propositions for that predicate are forgotten. Alternatively, provide one proposition or action_status child to forget a particular fact. Use one form at a time. The action in an action_status child must be declared in the ontology.

Placement and examples

Can appear in a plan, postplan, or conditional branch. To clear all shared colour values while retaining any private beliefs about colour:

<forget_shared predicate="colour"/>

For a single value, use the child form above. Use forget to remove a fact from both private beliefs and shared commitments.