Entity Recognition

Hi Guys. I have a question. I have a look up table of pet breeds for as entities in my nlu.yaml such as:

  • lookup: dog examples: |
    • Affenpinscher
    • Afghan Hound
    • Airedale Terrier
    • Akbash

now I also have some intent such as get_pet_weight where it returns the average weight of each breed. In my training samples I have things like

  • Give me the weight of an [akbash] (dog)
  • How heavy does a [Airedale Terrier] (dog) etc…I have about 10 training sets

when I run interactive it picks up the right intent about 70% of the time but rarely picks up the entity dog in this case. If it does, it would pick up the word terrier and not the full breed airedale terrier…any ideas on how to fix this?

Hi @sks8100. I think you should name your lookup the same way as your labelled entities (dog) so that Rasa learns to use lookup table for extracting the entities.

Thanks for the response Sorry I don’t know why I had breed there. The lookup is actually called dog not breed. My apologies but still same challenges

Any thoughts