Slot mapping "from_text" not working

Hi, i have a form to get any user input , according to this docs Forms the form can take any user intent as input if intent_name is set to None. but its not working, i put text “Atlus” and its identified as affirm, but the form “Failed to extract requested slot” , what i’m missing here? is the docs inaccurate? here is the full debug :

debug

Your input ->  Atlus                                                                                                                       
2021-11-17 03:11:13 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation 'b2bfece925d24b63933bdfd10408262e'.
2021-11-17 03:11:13 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation 'b2bfece925d24b63933bdfd10408262e'.
2021-11-17 03:11:13 DEBUG    rasa.core.lock_store  - Acquired lock for conversation 'b2bfece925d24b63933bdfd10408262e'.
2021-11-17 03:11:13 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'b2bfece925d24b63933bdfd10408262e'
2021-11-17 03:11:13 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-17 03:11:13 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Received user message 'Atlus' with intent '{'id': -7145039449810149554, 'name': 'affirm', 'confidence': 0.8838119506835938}' and entities '[]'
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 11 events.
2021-11-17 03:11:13 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-17 03:11:13 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'vaccination_form'.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-17 03:11:13 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: Atlus, intent: affirm, use_text_for_featurization: False)'.
2021-11-17 03:11:13 DEBUG    rasa.core.actions.forms  - Trying to extract requested slot 'patient_name' ...
2021-11-17 03:11:13 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_text', 'intent': 'None'}'
2021-11-17 03:11:13 DEBUG    rasa.core.actions.forms  - Failed to extract requested slot 'patient_name'
2021-11-17 03:11:13 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-11-17 03:11:13 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-17 03:11:13 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-17 03:11:13 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: affirm | previous action name: action_listen | active loop: {'name': 'vaccination_form'}
2021-11-17 03:11:13 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Execution of 'vaccination_form' was rejected. Setting its confidence to 0.0 in all predictions.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Predicted next action 'action_default_fallback' with confidence 0.30.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7fdd2bf02130>]'.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Action 'action_default_fallback' ended with events '[<rasa.shared.core.events.UserUtteranceReverted object at 0x7fdd2b8a4250>]'.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: None
        requested_slot: patient_name
        session_started_metadata: None
2021-11-17 03:11:13 DEBUG    rasa.core.policies.rule_policy  - Predicted 'action_listen' after loop 'vaccination_form'.
2021-11-17 03:11:13 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_RulePolicy.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-17 03:11:13 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-11-17 03:11:13 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'b2bfece925d24b63933bdfd10408262e'.

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

nlu.yml (its actualy super long so i shorten it)

version: "2.0"
nlu:
- intent: greet
  examples: |
    - haloo
    - hi
    - apa kabar?
    - oi
    - permisi
    - selamat siang
    - Selamat pagi
    - Selamat siang
    - Selamat sore
    - mo tanya
    - halo
- intent: goodbye
  examples: |
    - ok
    - sip
    - thnx
    - ok gan
    - dah
    - dadah
    - sudah cukup
    - cukup
    - ckp
- intent: affirm
  examples: |
    - iya
    - yes
    - ya
    - ok
    - betul
    - benar
    - setuju
    - iye
    - y
    - mau
- intent: deny
  examples: |
    - ga
    - ngga
    - ogah
    - tidak
    - tdk
    - tidak setuju
    - ga setuju
    - ga jadi
    - ga deh
    - tidak mau
    - tak mau
    - kok gitu

- intent: ask_status_vaccination
  examples: |
    - saya ingin tahu status vaksinasi saya
    - ingin tau status vaksinasi
    - ingin liat status vaksin
    - mau tau status vaksin
    - bagaimana vaksinasi saya?
    - vaksinasi saya sudah selesai?
    - saya sudah vaksin atau belum?
    - apa saya masih perlu vaksin?
    - pengen tau perlu vaksin atau tidak
    - saya udah vaksin blom?
    - apakah saya sudah vaksinasi?    

- 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)


- intent: out_of_context
  examples: |
    - assalamualaikum
    - okaerinasai
    - ikimas
    - woi bangsat
    - ojamasimaaas
    - anjing
    - monyet
    - kontol
    - babi
    - ngentot

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

rules.yml

version: "2.0"

rules:

- rule: balas ucapan ABC user
  steps:
  - intent: nlu_fallback
  - action: action_out_of_context


- rule: greet user
  steps:
  - intent: greet
  - action: utter_greet

- 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

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? silakan 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}

Hello, Try to declare patient_name as an entity, and change type to from_entity in your form. Adapt your NLU. The slot will be automatically filled with the value of the entity detected by NLU.

Unfortunately this is not what i ask. im trying to figure out how to use “from_text” mapping properly, not how to workaround about retrieving user input, but thanks for your time to reply :slight_smile:

Hello, could you try the following: in domain.yml define the form just as

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

Retraining with your examples, it then seems to fill the slot correctly (debug output is below). Stepping through the code, I think that the line intent: None might be interpreted such that the form is looking for an actual intent called “None”. I’ll check that in detail and if so would suggest to change the documentation to clarify that.

2021-11-19 17:51:00 INFO     root  - Rasa server is up and running.
Bot loaded. Type a message and press enter (use '/stop' to exit): 
Your input ->  ingin tau status vaksinasi                                                                                                                                                                                  
2021-11-19 17:51:29 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:29 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:29 DEBUG    rasa.core.lock_store  - Acquired lock for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:29 DEBUG    rasa.core.tracker_store  - Could not find tracker for conversation ID 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Starting a new session for conversation ID 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Action 'action_session_start' ended with events '[<rasa.shared.core.events.SessionStarted object at 0x16a55dbe0>, ActionExecuted(action: action_listen, policy: None, confidence: None)]'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: None
        requested_slot: None
        session_started_metadata: None
2021-11-19 17:51:29 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-19 17:51:29 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Received user message 'ingin tau status vaksinasi' with intent '{'id': 1202979657328987772, 'name': 'ask_status_vaccination', 'confidence': 0.9999955296516418}' and entities '[]'
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 4 events.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
2021-11-19 17:51:29 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-11-19 17:51:29 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user text: ingin tau status vaksinasi | previous action name: action_listen
2021-11-19 17:51:29 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: ask_status_vaccination | previous action name: action_listen
2021-11-19 17:51:29 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'vaccination_form'.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.unexpected_intent_policy  - Querying for intent `ask_status_vaccination`.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.unexpected_intent_policy  - Query intent index 1 not found in label thresholds - {5: 2.1264331, 6: 2.1277514, 8: 2.1352742}. Check for `action_unlikely_intent` prediction will be skipped.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_out_of_context' based on user intent.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_RulePolicy.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-19 17:51:29 DEBUG    rasa.core.actions.forms  - Activated the form 'vaccination_form'.
2021-11-19 17:51:29 DEBUG    rasa.core.actions.forms  - No pre-filled required slots to validate.
2021-11-19 17:51:29 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: ingin tau status vaksinasi, intent: ask_status_vaccination, use_text_for_featurization: False)'.
2021-11-19 17:51:29 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-11-19 17:51:29 DEBUG    rasa.core.actions.forms  - Request next slot 'patient_name'
2021-11-19 17:51:29 DEBUG    rasa.core.actions.action  - Calling action endpoint to run action 'action_ask_patient_name'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x16d7e7310>]'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Action 'vaccination_form' ended with events '[<rasa.shared.core.events.ActiveLoop object at 0x16d419340>, <rasa.shared.core.events.SlotSet object at 0x16d76ba00>, BotUttered('Boleh tau nama lengkap anda? silakan ketik nama anda  :', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {}, 1637340689.3162398)]'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: None
        requested_slot: patient_name
        session_started_metadata: None
2021-11-19 17:51:29 DEBUG    rasa.core.policies.memoization  - Current tracker state:
2021-11-19 17:51:29 DEBUG    rasa.core.policies.memoization  - There is a memorised next action 'action_listen'
2021-11-19 17:51:29 DEBUG    rasa.core.policies.rule_policy  - Predicted 'action_listen' after loop 'vaccination_form'.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.unexpected_intent_policy  - Skipping predictions for UnexpecTEDIntentPolicy as either there is no event of type `UserUttered`, event's intent is new and not in domain or there is an event of type `ActionExecuted` after the last `UserUttered`.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_listen' based on user intent.
2021-11-19 17:51:29 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_RulePolicy.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-19 17:51:29 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-11-19 17:51:29 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'd9dc1db1713046e692037d91d884d934'.
Boleh tau nama lengkap anda? silakan ketik nama anda  :
Your input ->  Atlus                                                                                                                                                                                                       
2021-11-19 17:51:42 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:42 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:42 DEBUG    rasa.core.lock_store  - Acquired lock for conversation 'd9dc1db1713046e692037d91d884d934'.
2021-11-19 17:51:42 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'd9dc1db1713046e692037d91d884d934'
2021-11-19 17:51:42 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-19 17:51:42 DEBUG    rasa.nlu.selectors.response_selector  - Adding following selector key to message property: default
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Received user message 'Atlus' with intent '{'id': -3829921157843252547, 'name': 'affirm', 'confidence': 0.8298282623291016}' and entities '[]'
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 11 events.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 1] user intent: affirm | previous action name: action_listen
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-11-19 17:51:42 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-19 17:51:42 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'vaccination_form'.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.unexpected_intent_policy  - Querying for intent `affirm`.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.unexpected_intent_policy  - Query intent index 0 not found in label thresholds - {5: 2.1264331, 6: 2.1277514, 8: 2.1352742}. Check for `action_unlikely_intent` prediction will be skipped.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_out_of_context' based on user intent.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_RulePolicy.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Predicted next action 'vaccination_form' with confidence 1.00.
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: Atlus, intent: affirm, use_text_for_featurization: False)'.
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Trying to extract requested slot 'patient_name' ...
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_text'}'
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Successfully extracted 'Atlus' for requested slot 'patient_name'
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {'patient_name': 'Atlus'}
2021-11-19 17:51:42 DEBUG    rasa.core.actions.forms  - Deactivating the form 'vaccination_form'
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x16af940a0>]'.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Action 'vaccination_form' ended with events '[<rasa.shared.core.events.SlotSet object at 0x16d721670>, <rasa.shared.core.events.SlotSet object at 0x16a593ac0>, <rasa.shared.core.events.ActiveLoop object at 0x16dcd44f0>]'.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Current slot values: 
        patient_name: Atlus
        requested_slot: None
        session_started_metadata: None
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 1] previous action name: action_listen
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-11-19 17:51:42 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
2021-11-19 17:51:42 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'utter_thanks'.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.unexpected_intent_policy  - Skipping predictions for UnexpecTEDIntentPolicy as either there is no event of type `UserUttered`, event's intent is new and not in domain or there is an event of type `ActionExecuted` after the last `UserUttered`.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_out_of_context' based on user intent.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_RulePolicy.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Predicted next action 'utter_thanks' with confidence 1.00.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-19 17:51:42 DEBUG    rasa.core.processor  - Action 'utter_thanks' ended with events '[BotUttered('Terima kasih!', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"utter_action": "utter_thanks"}, 1637340702.9838002)]'.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 1] previous action name: action_listen
2021-11-19 17:51:42 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-11-19 17:51:42 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
[state 3] user intent: ask_status_vaccination | previous action name: utter_thanks
2021-11-19 17:51:42 DEBUG    rasa.core.policies.rule_policy  - There is a rule for the next action 'action_listen'.
2021-11-19 17:51:42 DEBUG    rasa.core.policies.unexpected_intent_policy  - Skipping predictions for UnexpecTEDIntentPolicy as either there is no event of type `UserUttered`, event's intent is new and not in domain or there is an event of type `ActionExecuted` after the last `UserUttered`.
2021-11-19 17:51:43 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_out_of_context' based on user intent.
2021-11-19 17:51:43 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_RulePolicy.
2021-11-19 17:51:43 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2021-11-19 17:51:43 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-11-19 17:51:43 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-11-19 17:51:43 DEBUG    rasa.core.lock_store  - Deleted lock for conversation 'd9dc1db1713046e692037d91d884d934'.
Terima kasih!
Your input ->   
1 Like

thank you, finally it works, i just remove 1 line

from this:

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

to this :

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

now i can input even words in any intent, this docs should be revised as you suggest

If intent_name is None , the slot will be filled regardless of intent name.

Makes reader think to set intent:None but the actual thing is not to set intent_name

1 Like