RegexEntityExtractor not working in rasa==2.0.0rc4

Getting this warning UserWarning: No lookup tables or regexes defined in the training data that have a name equal to any entity in the training data. In order for this component to work you need to define valid lookup tables or regexes in the training data.

Here is the NLU Data version: “2.0” nlu:

  • intent: greet examples: |

    • Hi
    • Hey
    • Hi bot
    • Hey bot
    • Hello
    • Good morning
    • hi again
    • hi folks
    • hi Mister
    • hi pal!
    • hi there
    • greetings
    • hello everybody
    • hello is anybody there
    • hello robot
    • hallo
    • heeey
    • hi hi
    • hey
    • hey hey
    • hello there
    • hi
    • hello
    • yo
    • hola
    • hi?
    • hey bot!
    • hello friend
  • intent: request_restaurant examples: |

    • im looking for a restaurant
    • can i get swedish food in any area
    • a restaurant that serves caribbean food
    • id like a restaurant
    • im looking for a restaurant that serves mediterranean food
    • can i find a restaurant that serves chinese
    • i am looking for any place that serves indonesian food for three
    • i need to find a restaurant
    • uh im looking for a restaurant that serves kosher food
    • uh can i find a restaurant and it should serve brazilian food
    • im looking for a restaurant serving italian food
    • restaurant please
    • i’d like to book a table for two with spanish cuisine
    • i need a table for 4
    • book me a table for three at the italian restaurant
    • can you please book a table for 5?
    • I would like to book a table for 2
    • looking for a table at the mexican restaurant for five
    • find me a table for 7 people
    • Can I get a table for four at the place which server greek food?
  • intent: affirm examples: |

    • yeah a cheap restaurant serving international food
    • correct
    • ye
    • uh yes
    • let’s do it
    • yeah
    • uh yes
    • um yes
    • yes knocking
    • that’s correct
    • yes yes
    • right
    • yea
    • yes
    • yes right
    • yes and i dont care
    • right on
    • i love that
  • intent: deny examples: |

    • no
    • no new selection
    • no thanks
    • no thank you
    • uh no
    • breath no
    • do you have something else
    • no this does not work for me
  • intent: inform examples: |

  • intent: thankyou examples: |

    • um thank you good bye
    • okay cool uh good bye thank you
    • okay thank you good bye
    • you rock
    • and thats all thank you and good bye
    • thank you and good bye
    • sorry about my mistakes thank you good bye
    • noise thank you good bye
    • thank you goodbye noise
    • okay thank you goodbye
    • uh thank you good bye
    • thank you goodbye
    • thank you goodbye noise thank you goodbye
    • breath thank you goodbye
    • thank you
    • okay thank you
    • thanks goodbye
    • ah thank you goodbye
    • thank you noise
    • thank you good bye
    • breath thank you very much goodbye
    • thanks
    • noise thank you goodbye
    • unintelligible thank you goodbye
    • uh okay thank you good bye
    • thank you bye
    • um okay thank you good bye
  • intent: chitchat examples: |

    • can you share your boss with me?
    • i want to get to know your owner
    • i want to know the company which designed you
    • i want to know the company which generated you
    • i want to know the company which invented you
    • i want to know who invented you
    • May I ask who invented you?
    • please tell me the company who created you
    • please tell me who created you
    • tell me more about your creators
    • tell me more about your founders
    • Ahoy matey how are you?
    • are you alright
    • are you having a good day
    • Are you ok?
    • are you okay
    • Do you feel good?
    • how are things going
    • how are things with you?
    • How are things?
    • how are you
    • how are you doing
    • how are you doing this morning
    • how are you feeling
    • how are you today
    • How are you?
    • How is the weather today?
    • What’s the weather like?
    • How is the weather?
    • What is the weather at your place?
    • Do you have good weather?
    • Is it raining?
    • What’s it like out there?
    • Is it hot or cold?
    • Beautiful day, isn’t it?
    • What’s the weather forecast?
    • Is it quite breezy outside?
  • intent: stop examples: |

    • ok then you cant help me
    • that was shit, you’re not helping
    • you can’t help me
    • you can’t help me with what i need
    • i guess you can’t help me then
    • ok i guess you can’t help me
    • that’s not what i want
    • ok, but that doesnt help me
    • this is leading to nothing
    • this conversation is not really helpful
    • you cannot help me with what I want
    • I think you cant help me
    • hm i don’t think you can do what i want
    • stop
    • stop go back
    • do you get anything?
    • and you call yourself bot company? pff
    • and that’s it?
    • nothing else?
  • intent: bot_challenge examples: |

    • are you a bot?
    • are you a human?
    • am I talking to a bot?
    • am I talking to a human?
  • lookup: name examples: |

    • JPMC
    • Comerica
    • Bank of America
    • noman
    • hassan
  • regex: account_number examples: |

    • \b\d{5}\b
    • [0-9]{5}

And here is the config language: en

pipeline:

  • name: WhitespaceTokenizer
  • name: LexicalSyntacticFeaturizer
  • name: CountVectorsFeaturizer token_pattern: (?u)\b\w+\b
  • name: DucklingEntityExtractor url: http://localhost:8000 dimensions:
    • number
  • name: RegexEntityExtractor

    text will be processed with case insensitive as default

    “case_sensitive”: False

    use lookup tables to extract entities

    “use_lookup_tables”: True

    use regexes to extract entities

    “use_regexes”: True
  • name: DIETClassifier epochs: 100
  • name: EntitySynonymMapper

policies:

  • name: TEDPolicy epochs: 100
  • name: AugmentedMemoizationPolicy
  • name: RulePolicy