In the domain.yaml, I define the slot ‘is_record_sport_time’:
form:
sport_form:
is_record_sport_time:
- type: from_intent
intent: affirm_record
value: true
- type: from_intent
intent: deny_record
value: false
slots:
is_record_sport_time:
type: bool
influence_conversation: true
however, when i run rasa in the debug mode, I find there are no result in this slot and the debug mode sa2023-07-10 02:31:38 DEBUG rasa.core.actions.forms - Validating user input ‘UserUttered(text: 愿意, intent: affirm_record, use_text_for_featurization: False)’.
2023-07-10 02:31:38 DEBUG rasa.core.actions.forms - Trying to extract requested slot ‘is_record_sport_time’ …
2023-07-10 02:31:38 DEBUG rasa.core.actions.forms - Got mapping ‘{‘type’: ‘from_entity’, ‘entity’: ‘is_record_sport_time’, ‘intent’: , ‘not_intent’: , ‘role’: None, ‘group’: None}’
2023-07-10 02:31:38 DEBUG rasa.core.actions.forms - Failed to extract requested slot ‘is_record_sport_time’
2023-07-10 02:31:38 DEBUG rasa.core.actions.forms - Validating extracted slots: {}
It is vary strange for me, cause it said that the type of the slot ‘is_record_sport_time’ is from_entity but from_intent.