Slot not filling


I am trying a very simple thing and I can’t get it to work. I want the chatbot to ask for the user’s name, and then tell it back: user: Hi bot: Hi, what is your name? user: Titus bot: Your name is None. (this is the problem I can’t figure out)

This is what my file looks like:

## intent:greet
- Hi
- Hey
- Hi bot
- Hey bot
- Hello
- Good morning
- hi again
- hi folks

## intent:name_entry
- [John Doe](name)
- [Jane Doe](name)
- [Max Mustermann](name)
- [Max Meier](name)
- I'm [John Doe](name)
- I'm [Jane Doe](name)
- My name is [Max Mustermann](name)
- My name is [Max Meier](name)

This is my file:
## name
* greet
  - utter_greet
* name_entry
  - utter_name
  - utter_goodbye

This is my domain.yml file:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

  - greet
  - bye
  - name_entry

  - name

    type: text


    - text: Hi, what is your name?
    - text: Your name is {name}.
    - text: Bye!

And this is my config.yml file:

language: en
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

# Configuration for Rasa Core.
  - name: MemoizationPolicy
  - name: TEDPolicy
  - name: MappingPolicy
  - name: FormPolicy

What am I doing wrong? Thank you for your time.

Hi @Titus! Have you checked that the name entity is actually getting extracted? I’d highly recommend to use spacy’s pretrained PERSON entity to get names, since it is hard to provide enough examples yourself. Otherwise your approach looks right.

Thank you @mloubser for the tip. This is a great insight for me. I’ll give it a try.