'Rasa TEDPolicy doesn't wokr when user persists in asking the same question with entity
stories:
- story: user persists in asking for help
steps:
- intent: help
- action: utter_help
- intent: help
- action: utter_help
- intent: help
- action: action_human_handoff
As above configuration,this can be done successfully when there are no entities in the example, but it is not successful if there are entities in the example.as follows: In the story below, the user asks for conditioner three times in a row. The first two times, the bot sends the same message, but the third time trigger another actions。
nlu.yaml
- intent: conditioner
examples: |
- 如何打开空调
- 怎么打开空调
- 空调路径
story.yml
- story: conditioner
steps:
- intent: conditioner
- action: utter_conditioner
- intent: conditioner
- action: utter_conditioner
- intent: conditioner
- action: utter_uploadlog
But, as the following configuration, it always performs utter_conditioner.
nlu.yaml
- intent: conditioner
examples: |
- 如何打开[空调](device)
- 怎么打开[空调](device)
- [空调](device)路径
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
