Variable is assigned a value when it shouldn't be assigned

rasa-nlu
rasa-core

(Manpreet Singh) #1

I have attached screenshot for nlu.md, domain.yml, stories.md. Also pasting below excerpt from nlu.md. Whole code is at https://drive.google.com/file/d/1QDxlUo5cdI3gp2yN2F5LTKoHiMxml3tF/view?usp=sharing

nlu.md

intent:fruit_intent

intent:welcome

  • hi
  • hey
  • howdy

There are a few issues over here:

  1. When i try to say ‘hi’, somehow rasa tries to assign slot ‘fruit’ with the value of ‘hi’. Since the variable is of type categorical, slot class doesn’t assign the value. Which makes me believe that intent classification logic isn’t working right. Since ‘hi’ should have matched to ‘welcome’ intent. I am using sklearn pipeline here.
  2. I have used check points in stories.md so that I can define the flow. There is a followup question for ‘yes or no’. It is in the form of an intent. But hasn’t been defined directly in stories.md. It has only been defined as a child of a story using checkpointing. But even if I directly utter ‘yes’ at agent launch, the yes intent gets triggered.

nlu.md

domain.yml

stories.md


(Akela Drissner) #2

what NLU version are you using?