How do I get the second previous message from user?
User: what is X?
Bot: X is ...
User: What is Y?
How do I fetch the first question(“What is X?”) from user uttered in this stage? Also where do I get the full conversation history from?
How do I get the second previous message from user?
User: what is X?
Bot: X is ...
User: What is Y?
How do I fetch the first question(“What is X?”) from user uttered in this stage? Also where do I get the full conversation history from?
you can iterate through tracker.events
, every event is stored there in reversed order
What is your use case? You should be able to intercept tracker and forward it wherever you need it.
what do you mean?