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:
## 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:
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.