91 lines
2.4 KiB
YAML
91 lines
2.4 KiB
YAML
|
version: "3.1"
|
||
|
rules:
|
||
|
- rule: activate_wpm_form
|
||
|
steps:
|
||
|
- intent: wpm_recommendation
|
||
|
- action: action_reset_slots
|
||
|
- action: wpm_form
|
||
|
- active_loop: wpm_form
|
||
|
- slot_was_set:
|
||
|
- requested_slot: null
|
||
|
|
||
|
- rule: activate expert_search_form
|
||
|
steps:
|
||
|
- intent: search_expert
|
||
|
- action: action_reset_slots
|
||
|
- action: expert_search_form
|
||
|
- active_loop: expert_search_form
|
||
|
- slot_was_set:
|
||
|
- requested_slot: null
|
||
|
|
||
|
- rule: submit expert_search_form
|
||
|
condition:
|
||
|
- active_loop: expert_search_form
|
||
|
steps:
|
||
|
- action: expert_search_form
|
||
|
- active_loop: null
|
||
|
- slot_was_set:
|
||
|
- requested_slot: null
|
||
|
- action: utter_searching_for_experts
|
||
|
- action: action_expert_search
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: submit wpm form
|
||
|
condition:
|
||
|
- active_loop: wpm_form
|
||
|
steps:
|
||
|
- action: wpm_form
|
||
|
- active_loop: null
|
||
|
- slot_was_set:
|
||
|
- requested_slot: null
|
||
|
- action: utter_searching_for_wpms
|
||
|
- action: action_recommend_module
|
||
|
- action: action_set_reminder
|
||
|
- rule: get_started
|
||
|
steps:
|
||
|
- intent: get_started
|
||
|
- action: action_greet
|
||
|
|
||
|
- rule: utter credits for module
|
||
|
steps:
|
||
|
- intent: how_much_credits
|
||
|
- action: action_get_credits
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: utter infos about module
|
||
|
steps:
|
||
|
- intent: ask_module_info
|
||
|
- action: action_infos_module
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: ask about crawled data
|
||
|
steps:
|
||
|
- intent: ask_about_crawled_data
|
||
|
- action: utter_searching_in_crawleddata
|
||
|
- action: action_ask_about_crawled_hsma_data
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: ask about stupo
|
||
|
steps:
|
||
|
- intent: stupo_question
|
||
|
- action: utter_searching_in_stupo
|
||
|
- action: action_answer_stupo
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: ask for references
|
||
|
steps:
|
||
|
- intent: ask_for_references
|
||
|
- action: action_provide_references
|
||
|
- action: action_set_reminder
|
||
|
|
||
|
- rule: Trigger `action_react_to_reminder` for `EXTERNAL_reminder`
|
||
|
steps:
|
||
|
- intent: EXTERNAL_reminder
|
||
|
- action: utter_how_can_i_help
|
||
|
- rule: handle feedback
|
||
|
steps:
|
||
|
- or:
|
||
|
- intent: liked_answer
|
||
|
- intent: disliked_answer
|
||
|
- action: action_handle_feedback
|