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

[ENH] Error status for bot actions #211

Open
lakhoune opened this issue Aug 21, 2023 · 2 comments
Open

[ENH] Error status for bot actions #211

lakhoune opened this issue Aug 21, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@lakhoune
Copy link
Member

Currently, the bot actions are just executed but you cannot await for their result. In some cases, you may want to wait for the bot action to successfully pass before continuing the conversation state. Furthermore, we should also be able to handle cases where a bot action has failed. For example our service may want to return an error message to the user. Furthermore the failed attempts should also be logged in order to increase success awareness

@lakhoune lakhoune added the enhancement New feature or request label Aug 21, 2023
@lakhoune
Copy link
Member Author

One could also investigate the possibility to allow the service to manually set the state of the conversation. An example use case would be that the user wants to make a review but fails to include the canteen at which they had the dish. The service would send back a response to the bot telling it to send the message to the user "You forgot to specify the canteen. Could you pls specify it?" while the state should be manually set to the state where ChooseCanteen is enabled

@lakhoune
Copy link
Member Author

@Aran30 what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant