# Slot not filling

**URL:** <https://forum.rasa.com/t/slot-not-filling/30446>\
**Category:** Rasa Open Source\
**Created:** [June 20, 2020, 3:24pm UTC](https://forum.rasa.com/t/slot-not-filling/30446 "2020-06-20T15:24:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Titus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/titus/32/8782_2.png) [@Titus](https://forum.rasa.com/u/Titus)\
**Post date:** [June 20, 2020, 3:24pm UTC](https://forum.rasa.com/t/slot-not-filling/30446/1 "2020-06-20T15:24:32Z")

</div>

Hello!

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 nlu.md file looks like:

```auto
## 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 stories.md file:
## name
* greet
  - utter_greet
* name_entry
  - utter_name
  - utter_goodbye

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

intents:
  - greet
  - bye
  - name_entry

entities:
  - name

slots:
  name:
    type: text

responses:

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

```

And this is my config.yml file:

```auto
language: en
pipeline:
  - 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.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: TEDPolicy
  - name: MappingPolicy
  - name: FormPolicy

```

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

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [June 26, 2020, 12:55pm UTC](https://forum.rasa.com/t/slot-not-filling/30446/2 "2020-06-26T12:55:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Titus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/titus/32/8782_2.png) [@Titus](https://forum.rasa.com/u/Titus)\
**Post date:** [June 27, 2020, 6:55am UTC](https://forum.rasa.com/t/slot-not-filling/30446/3 "2020-06-27T06:55:41Z")

</div>

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