Cannot get Story to trigger with regex entities

Hi,

I would like a step within a story to trigger. I am using the DIETClassifier and RegexEntityExtractor. However, this means I get 2 entities in my NLU (see below):

{
  "text": "button1",
  "intent": {
    "id": 1736060505075588881,
    "name": "say_button",
    "confidence": 0.9959903359413147
  },
  "entities": [
    {
      "entity": "button_pressed",
      "start": 0,
      "end": 7,
      "value": "button1",
      "extractor": "RegexEntityExtractor"
    },
    {
      "entity": "button_pressed",
      "start": 0,
      "end": 7,
      "confidence_entity": 0.9954961538314819,
      "value": "button1",
      "extractor": "DIETClassifier"
    }
}

When I create a story to try and trigger an appropriate output, it does not work. Here is the story for the above ā€œbutton1ā€

- story: select button1 from list
  steps:
  - intent: show_buttons
  - action: utter_button_test
  - intent: say_button
    entities:
    - button_pressed: "button1"
  - action: utter_button1_selected

Also retried with this:

- story: select button1 from list
  steps:
  - intent: show_buttons
  - action: utter_button_test
  - intent: say_button
    entities:
    - button_pressed: "button1"
    - button_pressed: "button1"
  - action: utter_button1_selected

What am I doing wrong? Any help would be much appreciated!

Thanks

After some digging I found I need to fill slots to get entity values to navigate through paths in a story. It was answered here:

1 Like