eta.core.planning.plan_react

plan_react(expr, ds)[source]

Generate a subplan for a react-to step using the reaction transducer.

Parameters:
  • expr (s-expr) – The wff for the react-to step.

  • ds (DialogueState) –

Returns:

The updated plan, if successful.

Return type:

PlanNode or None