Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Intent FEATURE REQUEST] UndoIntent to undo previous commands {upto 3 times} #26

Open
Vibhu-Agarwal opened this issue Mar 17, 2020 · 0 comments
Assignees
Labels
Intent Feature Request Issues which mention new Intent Feature Request

Comments

@Vibhu-Agarwal
Copy link
Collaborator

UndoIntentHandler for handing undo feature.
Define UNDO_QUEUE_SIZE as a global variable which states how many undo(s) we can do.

How it works

Using Fixed-sized queue of size UNDO_QUEUE_SIZE which stores full copies of states as an element. Map the element popped from queue into current session attributes when undo-ed.

Utterances Format:

  • "Undo the previous command"

Slots

None

@Vibhu-Agarwal Vibhu-Agarwal added the Intent Feature Request Issues which mention new Intent Feature Request label Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Intent Feature Request Issues which mention new Intent Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant