Example #1
0
def step_impl(context: Context):
    context.clear_answers()
    context.numeric_answer = next(context.tx().query().match_aggregate(query=context.text))
def _clear_answers_impl(context: Context):
    context.answers = None
    context.numeric_answer = None
    context.answer_groups = None
    context.numeric_answer_groups = None