Spaces:
Sleeping
Sleeping
File size: 3,482 Bytes
ea3f136 0a79a50 ea3f136 8af432b df758cf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
version: "3.1"
stories:
- story: happy path - dietary planning
steps:
- intent: greet
- action: utter_greet
- action: utter_ask_dietary_preference
- intent: provide_dietary_preference
- action: utter_ask_health_goal
- intent: provide_health_goal
- action: utter_ask_personal_info
- intent: provide_personal_info
- action: utter_ask_restrictions
- intent: provide_restrictions
- action: utter_ask_allergies
- intent: provide_allergies
- action: utter_confirm_information
- intent: affirm
- action: utter_generating_plan
- action: action_generate_diet_plan
- intent: ask_for_changes
- action: utter_ask_for_changes
- intent: provide_dietary_preference
- action: utter_acknowledge_changes
- action: action_update_diet_plan
- story: direct diet plan request
steps:
- intent: request_diet_plan
- action: utter_ask_dietary_preference
- intent: provide_dietary_preference
- action: utter_ask_health_goal
- intent: provide_health_goal
- action: utter_ask_personal_info
- intent: provide_personal_info
- action: utter_ask_restrictions
- intent: provide_restrictions
- action: utter_ask_allergies
- intent: provide_allergies
- action: utter_confirm_information
- intent: affirm
- action: utter_generating_plan
- action: action_generate_diet_plan
- story: diet plan with no restrictions or allergies
steps:
- intent: greet
- action: utter_greet
- action: utter_ask_dietary_preference
- intent: provide_dietary_preference
entities:
- dietary_preference: "no specific diet"
- action: utter_ask_health_goal
- intent: provide_health_goal
- action: utter_ask_personal_info
- intent: provide_personal_info
- action: utter_ask_restrictions
- intent: deny
- action: utter_ask_allergies
- intent: deny
- action: utter_confirm_information
- intent: affirm
- action: utter_generating_plan
- action: action_generate_diet_plan
- story: ask diet question
steps:
- intent: ask_diet_question
- action: action_answer_diet_question
- story: ask for recommendation
steps:
- intent: ask_for_recommendation
- action: action_answer_diet_question
- story: reject generated plan and request changes
steps:
- action: action_generate_diet_plan
- intent: deny
- action: utter_ask_for_changes
- intent: ask_for_changes
- action: utter_acknowledge_changes
- action: action_update_diet_plan
- story: greet and goodbye
steps:
- intent: greet
- action: utter_greet
- intent: goodbye
- action: utter_goodbye
- story: Change specific day in diet plan using form
steps:
- intent: change_diet_day
entities:
- day_of_week: "Friday"
- slot_was_set:
- change_day: "Friday"
- action: diet_change_form
- active_loop: diet_change_form
- intent: inform
examples: |
- For breakfast have oats, lunch salad, dinner chicken stir-fry.
- slot_was_set:
- new_meals_text: "For breakfast have oats, lunch salad, dinner chicken stir-fry."
- action: diet_change_form
- active_loop: null
- slot_was_set:
- new_meals_text: null
- story: Update user information after initial collection
steps:
- intent: change_user_info
entities:
- change_field: "dietary preference"
- action: action_update_user_info
- intent: change_user_info
entities:
- new_value: "no specific diet"
- action: action_update_user_info
- intent: affirm
- action: utter_ask_for_changes
- intent: deny
- action: utter_goodbye
|