Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

textinput example: How to reset the conversation? #184

Open
@unicornmafia

Description

@unicornmafia

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:

  1. "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)

  2. "cancel"
    response: "ok cancel"
    (with microphone_mode: CLOSE_MICROPHONE)

  3. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions