textinput example: How to reset the conversation? #184
Description
I am working with the text input sample, and I'm trying to reset the conversation. It does not reset even after I restart.
What I did:
-
"book me a flight to tokyo"
response: "Upcoming roundtrip flights from Portland to Tokyo start at $904.00. Do you know what dates you'd like to fly?"
(with microphone_mode: DIALOG_FOLLOW_ON) -
"cancel"
response: "ok cancel"
(with microphone_mode: CLOSE_MICROPHONE) -
what time is it?
response: "Upcoming roundtrip flights from Portland to Tokyo start at $904.00. Did you have any dates in mind?"
I can't seem to get it out of this loop. after this, it always says either #2 (if i say cancel or no) or #1(if I say anything else)
Any ideas on how to reset the conversation state? I tried just setting self.conversation_state = None before the request, and it doesn't work. same issue.