sonIA / utils.py
Davide Fiocco
Refactor the app and change the context a bit
0fdee06
raw
history blame
131 Bytes
def get_answer(input, context, engine):
answer = engine({"question": input, "context": context})
return answer["answer"]