My use case is to simplify stories via including checkpoint with login actions. What I’ve tried:
Example of auth_cases.md
## Auth success
> check_auth
- action_check_auth
- slot{"auth": true}
> auth_true
## Auth login success
> check_auth
- action_check_auth
- slot{"auth": false}
- followup{"name": "auth_form"}
- auth_form
- form{"name": "auth_form"}
- slot{"auth": true}
- form{"name": null}
> auth_true
## Auth failed
> check_auth
- action_check_auth
- slot{"auth": false}
- followup{"name": "auth_form"}
- auth_form
- form{"name": "auth_form"}
* deny
- action_deactivate_form
- form{"name": null}
- slot{"auth": false}
> auth_failed
## Auth explain failed
> auth_false
- action_check_auth
- slot{"auth": false}
- followup{"name": "auth_form"}
- auth_form
- form{"name": "auth_form"}
- slot{"requested_slot": "email"}
* explain
- utter_auth_explain
- form{"name": "auth_form"}
* deny
- action_deactivate_form
- form{"name": null}
- slot{"auth": false}
- utter_cancel
> auth_failed
Example of general_stories.md
## general story to deny unauth user
> auth_false
- utter_cant_do
## example action 1 pass
* request_action_1
> check_auth
> auth_true
- action_request_action_1
## example action 2 pass
* request_action_2
> check_auth
> auth_true
- action_request_action_2
It kinda works, but replies are confused: when I request action 1, bot utteres action 2 and so on. It follow checkpoint, but looks like bot forgot what I’ve asked before checkpoint, and gives me random answer after auth.
I’ve also tried increase max_history, but it didn’t help, may be it should be increased even more?
How can I simplify stories?