Confidence 0.99 but entity not extracted

i have a sample of intent “give_name”, basicaly its just “Nama saya <PERSON_NAME>” which is <PERSON_NAME> is entitity of person_name , but when i test it “Nama Saya Atlus” , Atlus is not exctracted into *person_name just like this message :

Your input ->  nama saya Atlus                                                                                                             
2021-11-15 08:18:21 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation '290f167be39543868c6d513f4fa2bb53'.
2021-11-15 08:18:21 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation '290f167be39543868c6d513f4fa2bb53'.
2021-11-15 08:18:21 DEBUG    rasa.core.lock_store  - Acquired lock for conversation '290f167be39543868c6d513f4fa2bb53'.
2021-11-15 08:18:21 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '290f167be39543868c6d513f4fa2bb53'
2021-11-15 08:18:21 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2021-11-15 08:18:21 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2021-11-15 08:18:21 DEBUG    rasa.core.processor  - Received user message 'nama saya Atlus' with intent '{'id': 2293259264165238121, 'name': 'give_name', 'confidence': 0.9999990463256836}' and entities '[]'
2021-11-15 08:18:21 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 11 events.
2021-11-15 08:18:21 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
[state 2] user intent: ask_status_vaccination | previous action name: vaccination_form | active loop: {'name': 'vaccination_form'}
[state 3] user text: nama saya Atlus | previous action name: action_listen | active loop: {'name': 'vaccination_form'}
2021-11-15 08:18:21 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-15 08:18:21 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'vaccination_form'.
2021-11-15 08:18:21 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-15 08:18:21 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-15 08:18:21 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-15 08:18:21 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-15 08:18:21 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: nama saya Atlus, intent: give_name, use_text_for_featurization: False)'.
2021-11-15 08:18:21 DEBUG    rasa.core.actions.forms  - Trying to extract requested slot 'patient_name' ...
2021-11-15 08:18:21 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_entity', 'entity': 'person_name'}'
2021-11-15 08:18:21 DEBUG    rasa.core.actions.forms  - Failed to extract requested slot 'patient_name'

nlu.yml ( a portion about give_name intents)

- intent: give_name
  examples: |
    - nama saya [Ucok](person_name)
    - nama saya [wira](person_name)
    - nama saya [agus](person_name)
    - nama saya [budi](person_name)
    - nama saya [acong](person_name)
    - nama saya [sitorus](person_name)
    - nama saya [situpea](person_name)
    - nama gw [Bangun](person_name)
    - nama gw [wira](person_name)
    - nama gw [agus](person_name)
    - nama gw [budi](person_name)
    - nama gw [acong](person_name)
    - nama gw [sitorus](person_name)
    - nama gw [situpea](person_name)
    - saya adalah [Situpea](person_name)
    - nama: [Ucok](person_name)
    - nama: [wira](person_name)
    - nama: [agus](person_name)
    - nama: [budi](person_name)
    - nama: [acong](person_name)
    - nama: [sitorus](person_name)
    - nama: [situpea](person_name)
    - saya [Ucok](person_name)
    - saya [wira](person_name)
    - saya [agus](person_name)
    - saya [budi](person_name)
    - saya [acong](person_name)
    - saya [sitorus](person_name)
    - saya [situpea](person_name)
    - nama saya [Kayleigh Lebsack Jr.] (person_name)
    - nama saya [Dr. Trenton Mayert] (person_name)
    - nama saya [Amya Gerhold] (person_name)
    - nama saya [Eudora Torp] (person_name)
    - nama saya [Dr. Ned Jaskolski PhD] (person_name)
    - nama saya [Dessie Schinner] (person_name)
    - nama saya [Cary Turcotte] (person_name)
    - nama saya [Bertram Cassin] (person_name)
    - nama saya [Prof. Jayden Pollich] (person_name)
    - nama saya [Nayeli Swift PhD] (person_name)
    - nama saya [Anna Reinger] (person_name)
    - nama saya [Therese Kutch] (person_name)
    - nama saya [Aileen Koss MD] (person_name)
    - nama saya [Aiyana Herzog] (person_name)
    - nama saya [Pansy Ratke Jr.] (person_name)
    - nama saya [Tremayne Will MD] (person_name)
    - nama saya [Jamil Kub] (person_name)
    - nama saya [Ruby Kuhn] (person_name)
    - nama saya [Laurine Jast] (person_name)
    - nama saya [Susie Pfannerstill] (person_name)
    - nama saya [Gabriella Gaylord DVM] (person_name)
    - nama saya [Billy Kerluke MD] (person_name)
    - nama saya [Gaston Bruen] (person_name)
    - nama saya [Ramiro Zemlak II] (person_name)
    - nama saya [Montana Jacobs] (person_name)
    - nama saya [Colt Hayes] (person_name)
    - nama saya [Esther Gusikowski MD] (person_name)
    - nama saya [Nora Wehner] (person_name)
    - nama saya [Brendan Mertz] (person_name)
    - nama saya [Mr. Mackenzie Altenwerth II] (person_name)
    - nama saya [Ms. Rhoda Kreiger Sr.] (person_name)
    - nama saya [Mr. Damian Schumm] (person_name)
    - nama saya [Rosalyn Swaniawski Sr.] (person_name)
    - nama saya [Mikayla Heaney] (person_name)
    - nama saya [Alvis Leffler] (person_name)
    - nama saya [Lenna Turner] (person_name)
    - nama saya [Itzel Berge] (person_name)
    - nama saya [Wilson Rolfson] (person_name)
    - nama saya [Tracey Weber] (person_name)
    - nama saya [Dr. Jordyn Pacocha PhD] (person_name)
    - nama saya [Tiffany Rowe DDS] (person_name)
    - nama saya [Joshuah Hansen] (person_name)
    - nama saya [Donato Effertz] (person_name)
    - nama saya [Prof. Daphne Schaefer] (person_name)
    - nama saya [Lourdes Wolf IV] (person_name)
    - nama saya [Rhea Klein III] (person_name)
    - nama saya [Dr. Juanita Ledner I] (person_name)
    - nama saya [Regan Ondricka Sr.] (person_name)
    - nama saya [Aron Weber] (person_name)
    - nama saya [Gwendolyn Grant] (person_name)
    - nama saya [Julia Dickinson] (person_name)
    - nama saya [Dr. Kathlyn Jenkins III] (person_name)
    - nama saya [Mr. Hayley Crooks] (person_name)
    - nama saya [Dr. Orval Kautzer] (person_name)
    - nama saya [Lolita Zieme] (person_name)
    - nama saya [Demetris Lakin] (person_name)
    - nama saya [Prof. Vallie Kuhic] (person_name)
    - nama saya [Mr. Dayton Bergnaum DVM] (person_name)
    - nama saya [Braulio Romaguera] (person_name)
    - nama saya [Meghan Heller] (person_name)
    - nama saya [Mr. Russell Wunsch III] (person_name)
    - nama saya [Mauricio Rippin] (person_name)
    - nama saya [Bertrand Barrows] (person_name)
    - nama saya [Dr. Trevor Daniel] (person_name)
    - nama saya [Orval Wisoky] (person_name)
    - nama saya [Danny Pagac MD] (person_name)
    - nama saya [Gladyce Spinka] (person_name)
    - nama saya [Dr. Noel Weber] (person_name)
    - nama saya [Jackson Kub] (person_name)
    - nama saya [Simone Hilpert] (person_name)
    - nama saya [Ryan Jacobi] (person_name)
    - nama saya [Miss Bert Toy] (person_name)
    - nama saya [Dr. Giovanny Farrell] (person_name)
    - nama saya [Daija Ferry] (person_name)
    - nama saya [Ms. Haven Halvorson] (person_name)
    - nama saya [Domenico Johns] (person_name)
    - nama saya [Jamel Satterfield Jr.] (person_name)
    - nama saya [Heidi Gerhold] (person_name)
    - nama saya [Larry Balistreri] (person_name)
    - nama saya [Mr. Brice Mraz Sr.] (person_name)
    - nama saya [Thalia Legros] (person_name)
    - nama saya [Rhea Erdman] (person_name)
    - nama saya [Laurel Treutel] (person_name)
    - nama saya [Prof. Jarod Adams] (person_name)
    - nama saya [Micheal Ernser] (person_name)
    - nama saya [Mr. Leland Pacocha] (person_name)
    - nama saya [Rene Quitzon] (person_name)
    - nama saya [Macy Medhurst] (person_name)
    - nama saya [Isaac Wehner] (person_name)
    - nama saya [Miss Margaretta Koelpin Sr.] (person_name)
    - nama saya [Miss Cassidy Nader V] (person_name)
    - nama saya [Alfonzo Lindgren PhD] (person_name)
    - nama saya [Cory Anderson] (person_name)
    - nama saya [Terence Welch DDS] (person_name)
    - nama saya [Emmet Luettgen] (person_name)
    - nama saya [Payton Marvin V] (person_name)
    - nama saya [Prof. Adrian Johnston IV] (person_name)
    - nama saya [Miss Ocie Murazik V] (person_name)
    - nama saya [Erick Mertz] (person_name)
    - nama saya [Ms. Loyce Wisozk I] (person_name)
    - nama gw [Kayleigh Lebsack Jr.] (person_name)
    - nama gw [Dr. Trenton Mayert] (person_name)
    - nama gw [Amya Gerhold] (person_name)
    - nama gw [Eudora Torp] (person_name)
    - nama gw [Dr. Ned Jaskolski PhD] (person_name)
    - nama gw [Dessie Schinner] (person_name)
    - nama gw [Cary Turcotte] (person_name)
    - nama gw [Bertram Cassin] (person_name)
    - nama gw [Prof. Jayden Pollich] (person_name)
    - nama gw [Nayeli Swift PhD] (person_name)
    - nama gw [Anna Reinger] (person_name)
    - nama gw [Therese Kutch] (person_name)
    - nama gw [Aileen Koss MD] (person_name)
    - nama gw [Aiyana Herzog] (person_name)
    - nama gw [Pansy Ratke Jr.] (person_name)
    - nama gw [Tremayne Will MD] (person_name)
    - nama gw [Jamil Kub] (person_name)
    - nama gw [Ruby Kuhn] (person_name)
    - nama gw [Laurine Jast] (person_name)
    - nama gw [Susie Pfannerstill] (person_name)
    - nama gw [Gabriella Gaylord DVM] (person_name)
    - nama gw [Billy Kerluke MD] (person_name)
    - nama gw [Gaston Bruen] (person_name)
    - nama gw [Ramiro Zemlak II] (person_name)
    - nama gw [Montana Jacobs] (person_name)
    - nama gw [Colt Hayes] (person_name)
    - nama gw [Esther Gusikowski MD] (person_name)
    - nama gw [Nora Wehner] (person_name)
    - nama gw [Brendan Mertz] (person_name)
    - nama gw [Mr. Mackenzie Altenwerth II] (person_name)
    - nama gw [Ms. Rhoda Kreiger Sr.] (person_name)
    - nama gw [Mr. Damian Schumm] (person_name)
    - nama gw [Rosalyn Swaniawski Sr.] (person_name)
    - nama gw [Mikayla Heaney] (person_name)
    - nama gw [Alvis Leffler] (person_name)
    - nama gw [Lenna Turner] (person_name)
    - nama gw [Itzel Berge] (person_name)
    - nama gw [Wilson Rolfson] (person_name)
    - nama gw [Tracey Weber] (person_name)
    - nama gw [Dr. Jordyn Pacocha PhD] (person_name)
    - nama gw [Tiffany Rowe DDS] (person_name)
    - nama gw [Joshuah Hansen] (person_name)
    - nama gw [Donato Effertz] (person_name)
    - nama gw [Prof. Daphne Schaefer] (person_name)
    - nama gw [Lourdes Wolf IV] (person_name)
    - nama gw [Rhea Klein III] (person_name)
    - nama gw [Dr. Juanita Ledner I] (person_name)
    - nama gw [Regan Ondricka Sr.] (person_name)
    - nama gw [Aron Weber] (person_name)
    - nama gw [Gwendolyn Grant] (person_name)
    - nama gw [Julia Dickinson] (person_name)
    - nama gw [Dr. Kathlyn Jenkins III] (person_name)
    - nama gw [Mr. Hayley Crooks] (person_name)
    - nama gw [Dr. Orval Kautzer] (person_name)
    - nama gw [Lolita Zieme] (person_name)
    - nama gw [Demetris Lakin] (person_name)
    - nama gw [Prof. Vallie Kuhic] (person_name)
    - nama gw [Mr. Dayton Bergnaum DVM] (person_name)
    - nama gw [Braulio Romaguera] (person_name)
    - nama gw [Meghan Heller] (person_name)
    - nama gw [Mr. Russell Wunsch III] (person_name)
    - nama gw [Mauricio Rippin] (person_name)
    - nama gw [Bertrand Barrows] (person_name)
    - nama gw [Dr. Trevor Daniel] (person_name)
    - nama gw [Orval Wisoky] (person_name)
    - nama gw [Danny Pagac MD] (person_name)
    - nama gw [Gladyce Spinka] (person_name)
    - nama gw [Dr. Noel Weber] (person_name)
    - nama gw [Jackson Kub] (person_name)
    - nama gw [Simone Hilpert] (person_name)
    - nama gw [Ryan Jacobi] (person_name)
    - nama gw [Miss Bert Toy] (person_name)
    - nama gw [Dr. Giovanny Farrell] (person_name)
    - nama gw [Daija Ferry] (person_name)
    - nama gw [Ms. Haven Halvorson] (person_name)
    - nama gw [Domenico Johns] (person_name)
    - nama gw [Jamel Satterfield Jr.] (person_name)
    - nama gw [Heidi Gerhold] (person_name)
    - nama gw [Larry Balistreri] (person_name)
    - nama gw [Mr. Brice Mraz Sr.] (person_name)
    - nama gw [Thalia Legros] (person_name)
    - nama gw [Rhea Erdman] (person_name)
    - nama gw [Laurel Treutel] (person_name)
    - nama gw [Prof. Jarod Adams] (person_name)
    - nama gw [Micheal Ernser] (person_name)
    - nama gw [Mr. Leland Pacocha] (person_name)
    - nama gw [Rene Quitzon] (person_name)
    - nama gw [Macy Medhurst] (person_name)
    - nama gw [Isaac Wehner] (person_name)
    - nama gw [Miss Margaretta Koelpin Sr.] (person_name)
    - nama gw [Miss Cassidy Nader V] (person_name)
    - nama gw [Alfonzo Lindgren PhD] (person_name)
    - nama gw [Cory Anderson] (person_name)
    - nama gw [Terence Welch DDS] (person_name)
    - nama gw [Emmet Luettgen] (person_name)
    - nama gw [Payton Marvin V] (person_name)
    - nama gw [Prof. Adrian Johnston IV] (person_name)
    - nama gw [Miss Ocie Murazik V] (person_name)
    - nama gw [Erick Mertz] (person_name)
    - nama gw [Ms. Loyce Wisozk I] (person_name)
    - nama: [Kayleigh Lebsack Jr.] (person_name)
    - nama: [Dr. Trenton Mayert] (person_name)
    - nama: [Amya Gerhold] (person_name)
    - nama: [Eudora Torp] (person_name)
    - nama: [Dr. Ned Jaskolski PhD] (person_name)
    - nama: [Dessie Schinner] (person_name)
    - nama: [Cary Turcotte] (person_name)
    - nama: [Bertram Cassin] (person_name)
    - nama: [Prof. Jayden Pollich] (person_name)
    - nama: [Nayeli Swift PhD] (person_name)
    - nama: [Anna Reinger] (person_name)
    - nama: [Therese Kutch] (person_name)
    - nama: [Aileen Koss MD] (person_name)
    - nama: [Aiyana Herzog] (person_name)
    - nama: [Pansy Ratke Jr.] (person_name)
    - nama: [Tremayne Will MD] (person_name)
    - nama: [Jamil Kub] (person_name)
    - nama: [Ruby Kuhn] (person_name)
    - nama: [Laurine Jast] (person_name)
    - nama: [Susie Pfannerstill] (person_name)
    - nama: [Gabriella Gaylord DVM] (person_name)
    - nama: [Billy Kerluke MD] (person_name)
    - nama: [Gaston Bruen] (person_name)
    - nama: [Ramiro Zemlak II] (person_name)
    - nama: [Montana Jacobs] (person_name)
    - nama: [Colt Hayes] (person_name)
    - nama: [Esther Gusikowski MD] (person_name)
    - nama: [Nora Wehner] (person_name)
    - nama: [Brendan Mertz] (person_name)
    - nama: [Mr. Mackenzie Altenwerth II] (person_name)
    - nama: [Ms. Rhoda Kreiger Sr.] (person_name)
    - nama: [Mr. Damian Schumm] (person_name)
    - nama: [Rosalyn Swaniawski Sr.] (person_name)
    - nama: [Mikayla Heaney] (person_name)
    - nama: [Alvis Leffler] (person_name)
    - nama: [Lenna Turner] (person_name)
    - nama: [Itzel Berge] (person_name)
    - nama: [Wilson Rolfson] (person_name)
    - nama: [Tracey Weber] (person_name)
    - nama: [Dr. Jordyn Pacocha PhD] (person_name)
    - nama: [Tiffany Rowe DDS] (person_name)
    - nama: [Joshuah Hansen] (person_name)
    - nama: [Donato Effertz] (person_name)
    - nama: [Prof. Daphne Schaefer] (person_name)
    - nama: [Lourdes Wolf IV] (person_name)
    - nama: [Rhea Klein III] (person_name)
    - nama: [Dr. Juanita Ledner I] (person_name)
    - nama: [Regan Ondricka Sr.] (person_name)
    - nama: [Aron Weber] (person_name)
    - nama: [Gwendolyn Grant] (person_name)
    - nama: [Julia Dickinson] (person_name)
    - nama: [Dr. Kathlyn Jenkins III] (person_name)
    - nama: [Mr. Hayley Crooks] (person_name)
    - nama: [Dr. Orval Kautzer] (person_name)
    - nama: [Lolita Zieme] (person_name)
    - nama: [Demetris Lakin] (person_name)
    - nama: [Prof. Vallie Kuhic] (person_name)
    - nama: [Mr. Dayton Bergnaum DVM] (person_name)
    - nama: [Braulio Romaguera] (person_name)
    - nama: [Meghan Heller] (person_name)
    - nama: [Mr. Russell Wunsch III] (person_name)
    - nama: [Mauricio Rippin] (person_name)
    - nama: [Bertrand Barrows] (person_name)
    - nama: [Dr. Trevor Daniel] (person_name)
    - nama: [Orval Wisoky] (person_name)
    - nama: [Danny Pagac MD] (person_name)
    - nama: [Gladyce Spinka] (person_name)
    - nama: [Dr. Noel Weber] (person_name)
    - nama: [Jackson Kub] (person_name)
    - nama: [Simone Hilpert] (person_name)
    - nama: [Ryan Jacobi] (person_name)
    - nama: [Miss Bert Toy] (person_name)
    - nama: [Dr. Giovanny Farrell] (person_name)
    - nama: [Daija Ferry] (person_name)
    - nama: [Ms. Haven Halvorson] (person_name)
    - nama: [Domenico Johns] (person_name)
    - nama: [Jamel Satterfield Jr.] (person_name)
    - nama: [Heidi Gerhold] (person_name)
    - nama: [Larry Balistreri] (person_name)
    - nama: [Mr. Brice Mraz Sr.] (person_name)
    - nama: [Thalia Legros] (person_name)
    - nama: [Rhea Erdman] (person_name)
    - nama: [Laurel Treutel] (person_name)
    - nama: [Prof. Jarod Adams] (person_name)
    - nama: [Micheal Ernser] (person_name)
    - nama: [Mr. Leland Pacocha] (person_name)
    - nama: [Rene Quitzon] (person_name)
    - nama: [Macy Medhurst] (person_name)
    - nama: [Isaac Wehner] (person_name)
    - nama: [Miss Margaretta Koelpin Sr.] (person_name)
    - nama: [Miss Cassidy Nader V] (person_name)
    - nama: [Alfonzo Lindgren PhD] (person_name)
    - nama: [Cory Anderson] (person_name)
    - nama: [Terence Welch DDS] (person_name)
    - nama: [Emmet Luettgen] (person_name)
    - nama: [Payton Marvin V] (person_name)
    - nama: [Prof. Adrian Johnston IV] (person_name)
    - nama: [Miss Ocie Murazik V] (person_name)
    - nama: [Erick Mertz] (person_name)
    - nama: [Ms. Loyce Wisozk I] (person_name)

rules.yml

- rule: activate vaccination form
  steps:
  - intent: ask_status_vaccination
  - action: vaccination_form
  - active_loop: vaccination_form

- rule: Submit form
  condition:
    # Condition that form is active.
    - active_loop: vaccination_form
  steps:
    - action: vaccination_form
    - active_loop: null
    - slot_was_set:
        - requested_slot: null
    # The action we want to run when the form is submitted.
    - action: utter_thanks

domain.yml

version: '2.0'
session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

intents:
- greet
- affirm
- out_of_context
- goodbye
- deny
- give_name
- ask_status_vaccination

entities:
  - person_name

slots:
  patient_name:
    type: text
    influence_conversation: false

forms:
  vaccination_form:
    required_slots:
      patient_name:
        - type: from_entity
          entity: person_name

responses:
  utter_greet:
  - text: Halo! ada yang bisa saya bantu?
  utter_goodbye:
  - text: Sampai jumpa!
  utter_thanks:
  - text: Terima kasih!
  
actions:
- utter_greet
- utter_thanks
- utter_goodbye
- action_out_of_context
- action_ask_patient_name

stories.yml

version: "2.0"

stories:

- story: basic greetings
  steps:
  - intent: greet
  - action: utter_greet

- story: selamat tinggal
  steps:
  - intent: goodbye
  - action: utter_goodbye

- story: conversation_kagak_ngerti
  steps:
  - intent: out_of_context
  - action: action_out_of_context

config.yml

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: id

pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
   - 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
   - name: FallbackClassifier
     threshold: 0.85
     ambiguity_threshold: 0.1

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
#   - name: MemoizationPolicy
   - name: RulePolicy
#   - name: UnexpecTEDIntentPolicy
#     max_history: 5
#     epochs: 100
#   - name: TEDPolicy
#     max_history: 5
#     epochs: 100
#     constrain_similarities: true

First, a confidence of 0.99 does not always mean the bot is correct! It can be wrongly confident (like flat-Eathers! :slight_smile:).

Second, for things such as names, instead of writing hundreds of examples, using a lookup table such as this one is recommended.

Third, if the bot asks for the name and it’s not the user that gives it out of nowhere, you can extract the name in a controlled environment - a form with from_text mapping for the name slot. No more need for entity extraction! Just ask the user to enter their name only and it will save the whole input as their name (you can also ask for confirmation in case the user did it wrong).

Fourth, syntax mistake from your side: You wrote [Amya Gerhold] (person_name) instead of [Amya Gerhold](person_name) in many places. There should be no space between the brackets and parenthesis. All these entities are not being trained as entities - one more reason to use a lookup table.

Third, if the bot asks for the name and it’s not the user that gives it out of nowhere, you can extract the name in a controlled environment - a form with from_text mapping for the name slot. No more need for entity extraction!

trying this right now but only got nlu_fallback i tought this method will accept any input but resulting the AI to conclude this as another intents and the form dont even doing anything, what i missing? dont tell me to use another method, its starting to infuriate me trying every method in this Rasa which is the result always not what i expected.

How do i retrieve user text detected as nlu_fallback as into form slot?

debug.yml

Your input ->  Atlus                                                                                                                       
2021-11-16 07:51:52 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation '8f7b4c5d736f4fcebf048dc8188f1003'.
2021-11-16 07:51:52 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation '8f7b4c5d736f4fcebf048dc8188f1003'.
2021-11-16 07:51:52 DEBUG    rasa.core.lock_store  - Acquired lock for conversation '8f7b4c5d736f4fcebf048dc8188f1003'.
2021-11-16 07:51:52 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '8f7b4c5d736f4fcebf048dc8188f1003'
2021-11-16 07:51:52 DEBUG    rasa.nlu.classifiers.diet_classifier  - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2021-11-16 07:51:52 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2021-11-16 07:51:52 DEBUG    rasa.nlu.classifiers.fallback_classifier  - NLU confidence 0.7413119077682495 for intent 'affirm' is lower than NLU threshold 0.85.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Received user message 'Atlus' with intent '{'name': 'nlu_fallback', 'confidence': 0.85}' and entities '[]'
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 11 events.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
[state 2] user intent: ask_status_vaccination | previous action name: vaccination_form | active loop: {'name': 'vaccination_form'}
[state 3] user text: Atlus | previous action name: action_listen | active loop: {'name': 'vaccination_form'}
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'vaccination_form'.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: Atlus, intent: nlu_fallback, use_text_for_featurization: False)'.
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Trying to extract requested slot 'patient_name' ...
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_text', 'intent': 'None'}'
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Failed to extract requested slot 'patient_name'
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
[state 2] user intent: ask_status_vaccination | previous action name: vaccination_form | active loop: {'name': 'vaccination_form'}
[state 3] previous action name: action_listen | active loop: {'name': 'vaccination_form'}
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
[state 2] user intent: ask_status_vaccination | previous action name: vaccination_form | active loop: {'name': 'vaccination_form'}
[state 3] user intent: nlu_fallback | previous action name: action_listen | active loop: {'name': 'vaccination_form'}
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'action_out_of_context'.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Execution of 'vaccination_form' was rejected. Setting its confidence to 0.0 in all predictions.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Predicted next action 'action_out_of_context' with confidence 1.00.
2021-11-16 07:51:52 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_out_of_context'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f3ca1989580>]'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Action 'action_out_of_context' ended with events '[BotUttered('Maaf, maksudnya apa ya?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1637049112.1818786)]'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: None
        requested_slot: patient_name
        session_started_metadata: None
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
[state 2] user intent: ask_status_vaccination | previous action name: vaccination_form | active loop: {'name': 'vaccination_form'}
[state 3] user intent: nlu_fallback | previous action name: action_listen | active loop: {'name': 'vaccination_form'}
[state 4] user intent: nlu_fallback | previous action name: action_out_of_context | active loop: {'name': 'vaccination_form'}
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'vaccination_form' by overwriting 'action_listen' predicted by general rule.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-11-16 07:51:52 DEBUG    rasa.core.actions.forms  - Request next slot 'patient_name'
2021-11-16 07:51:52 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_ask_patient_name'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Action 'vaccination_form' ended with events '[<rasa.shared.core.events.SlotSet object at 0x7f3ca15d6130>, BotUttered('Boleh tau nama lengkap anda? silkan ketik nama anda  :', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1637049112.1927602)]'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: None
        requested_slot: patient_name
        session_started_metadata: None
2021-11-16 07:51:52 DEBUG    rasa.core.policies.rule_policy  - Predicted 'action_listen' after loop 'vaccination_form'.
2021-11-16 07:51:52 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-16 07:51:52 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-11-16 07:51:52 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '8f7b4c5d736f4fcebf048dc8188f1003'.
Maaf, maksudnya apa ya?
Boleh tau nama lengkap anda? silkan ketik nama anda  :

domain.yml

version: '2.0'
session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

intents:
- greet
- affirm
- out_of_context
- goodbye
- deny
- give_name
- ask_status_vaccination

entities:
  - person_name

slots:
  patient_name:
    type: text
    influence_conversation: false

forms:
  vaccination_form:
    required_slots:
      patient_name:
        - type: from_text
          intent: None

responses:
  utter_greet:
  - text: Halo! ada yang bisa saya bantu?
  utter_goodbye:
  - text: Sampai jumpa!
  utter_thanks:
  - text: Terima kasih!
  
actions:
- utter_greet
- utter_thanks
- utter_goodbye
- action_out_of_context
- action_ask_patient_name

actions.py

# This files contains your custom actions which can be used to run
# custom Python code.
#
# See this guide on how to implement these action:
# https://rasa.com/docs/rasa/custom-actions


# This is a simple example for a custom action which utters "Hello World!"

from typing import Any, Text, Dict, List
from rasa_sdk.events import SlotSet
from rasa_sdk import Action, Tracker
from rasa_sdk.executor import CollectingDispatcher
from rasa_sdk.forms import FormValidationAction
from rasa_sdk.events import EventType
from rasa_sdk.types import DomainDict

class ActionOutOfContext(Action):
    def name(self) -> Text:
        return "action_out_of_context"

    def run(self, dispatcher: CollectingDispatcher,
            tracker: Tracker,
            domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

        dispatcher.utter_message(text="Maaf, maksudnya apa ya?")

        return []

class AskForPatientName(Action):
    def name(self) -> Text:
        return "action_ask_patient_name"

    def run(
        self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict
    ) -> List[EventType]:
        dispatcher.utter_message(text="Boleh tau nama lengkap anda? silkan ketik nama anda  :")
        return []

class ValidateVaccinationForm(FormValidationAction):
    def name(self) -> Text:
        return "validate_vaccination_form"

    def validate_patient_name(
        self,
        slot_value: Any,
        dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: DomainDict,
    ) -> Dict[Text, Any]:
        """Validate patient_name."""
        dispatcher.utter_message(text="VALIDATE NAMA" + slot_value)
        return {"patient_name": "Pasien: " + slot_value}

You should still give examples for the inputs, whether in the give_name intent, out_of_scope intent, or whatever.

You can also change the fallback threshold in the config file.

If a certain method does not work, I don’t see how it is possible to make it work without using another method - or at least correctly implementing the method, which is in a way like using another method.

You cannot expect anything to work directly as expected, especially in the programming field. I suggest you calm down, since

  • Rasa is free and open source, I personally cannot understand when someone complains about something they’re getting for free.
  • The people on the forum are volunteers, me included. There is no obligation to reply to rude people. I am a student and I have a job, the couple of free hours a day I have, I spend on the forum.
  • Everything has a learning curve. My first few weeks and even months with Rasa have been frustrating. Take your time to understand how it works and real the WHOLE documentation, and try everything in the docs for yourself so you can have practice.
1 Like

If a certain method does not work, I don’t see how it is possible to make it work without using another method - or at least correctly implementing the method, which is in a way like using another method.

sorry but this is for corporate project and i dont have time to learn whole things months after months, its already wasted one month to understand slot + form + custom action, but still not understand how it works. i follow all example in youtube but its just doing input from word inside nlu.yml so of course its works.

back to topic : you said it before i can extract a name from from_text mapping only with entering this name only, this is not work. And why i have to try to change fallback threshold?

You should still give examples for the inputs, whether in the give_name intent, out_of_scope intent, or whatever.

this is confusing me, i tought with using from_text will accept any user input. but its actually not, now i have to go back by defining human name sample inside nlu.yml? human have ultra bazillion combination of names even you can see elon musk weird child name.

Now i just want to input “Atlus” as my name, its simple as that but from_text slot failed to retrieved it. i read it in Forms take a look at this explanation

from_text#
The from_text mapping will use the text of the next user utterance to fill the slot slot_name. If intent_name is None, the slot will be filled regardless of intent name. Otherwise, the slot will only be filled if the user's intent is intent_name.

The slot mapping will not apply if the intent of the message is excluded_intent. Note that you can define lists of intents for the parameters intent and not_intent.`

even i try to brute force by using intent: or excluded_intent , trying combination of them. still not happened. my name “Atlus” = nlu_fallback. i feel betrayed just by this official docs