def get_answer(input, context, engine): answer = engine({"question": input, "context": context}) return answer["answer"]