eta.core.execution.inquire_truth_of_curr_step

inquire_truth_of_curr_step(event, ds)[source]

Attempt to match an expected event to a fact in context.

If a match is successful, this will bind all variables unified in the match throughout the dialogue state.

Parameters:
Returns:

Whether the match was successful.

Return type:

bool