I am implementing a covid bot. Currently, my model picks “covid” and the “location” as entities and it correctly returns the statistics. For example
user: how many covid cases are there in Nigeria
bot: there are xxxx covid cases in Nigeria.
user: what about Ghana?
When I ask this follow-up question, the bot doesn’t understand because there’s no “covid” entity in the question.
So my question is how can the bot keep track of earlier states of the conversation and understands what I am talking about? In the above example, how can I design/implement my bot to reply with:
bot: there are yyy covid cases in Ghana.
I hope this is clear enough.