Retrieving Facts


(Andy) #1

I am interested in playing with Rasa to create a bot that answers simple questions. For instance, “who is the first president of the United States ?” I understand that I need to use slots to reuse the same question for different countries but it is not entirely clear to me how to achieve this as one fact query is independent of anything preceding that so creating stories for this doesn’t make sense. Thanks a lot in advance !


(Akela Drissner) #2

You could use a custom action, where you get the country slot, and then return a different answer based on what the country is