Hello guys,
I’m building a form that I want to be fill with all the values of the entity reason found in the sentence. But I try rasa interactive to build a story and the slots were not filled.
This is my domain file:
- approve
- bye
- deny
- get_focus_recommendation
- greet
- inform_bestself
- inform_choice
- inform_feedback
- inform_focus_area
- inform_how
- inform_mood
- inform_reason
- inform_recommendation
- inform_who
- neutral_explore
entities:
- choice
- conversation
- current_score
- feedback
- focus_area
- mood
- mood_level
- reason
- time_of_day
- user_name
slots:
feeling_description:
type: list
influence_conversation: false
energy_description:
type: list
influence_conversation: false
behave_description:
type: list
influence_conversation: false
prioritise_description:
type: list
influence_conversation: false
self_description:
type: list
influence_conversation: false
habits_description:
type: list
influence_conversation: false
interaction_description:
type: list
influence_conversation: false
summarise_description:
type: list
influence_conversation: false
current_score:
type: float
influence_conversation: false
max_value: 1.0
min_value: 0.0
showing_up_description:
type: list
influence_conversation: false
changes_description:
type: list
influence_conversation: false
forms:
bestself_form:
required_slots:
feeling_description:
- type: from_entity
entity: reason
energy_description:
- type: from_entity
entity: reason
behave_description:
- type: from_entity
entity: reason
prioritise_description:
- type: from_entity
entity: reason
self_description:
- type: from_entity
entity: reason
habits_description:
- type: from_entity
entity: reason
interaction_description:
- type: from_entity
entity: reason
summarise_description:
- type: from_entity
entity: reason
current_score:
- type: from_entity
entity: current_score
showing_up_description:
- type: from_entity
entity: reason
changes_description:
- type: from_entity
entity: reason
This is my rule file notice that my first step in this rule is trigger by the utter where I ask the question:
- rule: Activate form
steps:
- action: utter_1010_feel
- action: bestself_form
- active_loop: bestself_form
- rule: Submit form
condition:
- active_loop: bestself_form
steps:
- action: bestself_form
- active_loop: null
- slot_was_set:
- requested_slot: null
- action: utter_1010_end
Someone know how to procede on this?