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

Added overall cancel command #1

Merged
merged 6 commits into from
Jul 26, 2023
Merged

Added overall cancel command #1

merged 6 commits into from
Jul 26, 2023

Conversation

cdhiraj40
Copy link
Collaborator

@cdhiraj40 cdhiraj40 commented Sep 23, 2022

Description:

Overall cancel command will stop ongoing voice commands and let the user start another workflow if asked.

Why Needed:

Unhappy workflow

User: Select a car (Backend: Start car selection form and keep checking pre-requisites and if fulfilled select a car)
Bot: which one do you want to select? 1? 2? 3? (This is a custom message, just added here to decrease complexity)
User: Start Recording
Bot: Wrong request
User: Please start recording
Bot: Wrong request

User experience: 😞

Bot persists to have memory for a long time which makes it hard for the user to start another workflow. While this can be easily handled by adding an edge story to handle the start recording while car selection is happening. But it becomes hard to maintain this for every other command.

Happy workflow

User: Select a car (Backend: Start car selection form and keep checking pre-requisites and if fulfilled select a car)
Bot: which one do you want to select? 1? 2? 3? (This is a custom message, just added here to decrease complexity)
User: Cancel car selection
Bot: Okay, canceling running commands!
User: Please start recording
Bot: (start recording action starts)

User experience: 😄

Action points:

  • Added training data
  • Added stories
  • Added rules
  • Cancel command custom action
  • Tested

Screen recording:

I will add it soon!

@cdhiraj40
Copy link
Collaborator Author

Closing and reopening the pull request to trigger the action.

@cdhiraj40 cdhiraj40 closed this Jul 26, 2023
@cdhiraj40 cdhiraj40 reopened this Jul 26, 2023
@github-actions
Copy link

Commit: b233438
Data: default

Configuration Intent Classification Micro F1 Entity Recognition Micro F1 Response Selection Micro F1 Story Recognition Micro F1
config.yml 1.0000 (0.00) 0.9643 (0.00) no data 1.0000 (0.00)

@cdhiraj40 cdhiraj40 merged commit 6cc969b into enviroCar:main Jul 26, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant