Can the bot remember what the user input before?

Hello, I have a chatbot which gives the user the most suitable product according to the description given. So, the user will give a description and the chatbot will see if there is any match. If there’s a match, the product name is given and if not, the bot ask user to give more details.

I wanted to know if there’s any way that the bot remembers the first input and concatenate it with the second input and so on? So that at the end the bot will do a keyword matching of the entire input from the user.

Thank you in advance.

@Bhavna See the concept of slot, do check this video