Spaces:
Running
Running
Delete scenarios/mood_recommendation.json
Browse files
scenarios/mood_recommendation.json
DELETED
|
@@ -1,55 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"scenario_id": "mood_recommendation",
|
| 3 |
-
"name": "Gợi ý theo mood",
|
| 4 |
-
"description": "Gợi ý sự kiện theo tâm trạng hiện tại",
|
| 5 |
-
"triggers": ["chán", "muốn đi đâu", "gợi ý mood"],
|
| 6 |
-
"steps": [
|
| 7 |
-
{
|
| 8 |
-
"id": 1,
|
| 9 |
-
"bot_message": "Mood hôm nay của bạn là gì nè? 😊 (Chill / Sôi động / Muốn cười / Muốn học hỏi)",
|
| 10 |
-
"expected_input_type": "interest_tag",
|
| 11 |
-
"save_data": {"mood": "{user_choice}"},
|
| 12 |
-
"next_step": 2
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"id": 2,
|
| 16 |
-
"bot_message_template": "Để mình tìm event hợp mood **{mood}** của bạn nha 🔍",
|
| 17 |
-
"rag_query_template": "sự kiện hợp mood {mood}",
|
| 18 |
-
"next_step": 3
|
| 19 |
-
},
|
| 20 |
-
{
|
| 21 |
-
"id": 3,
|
| 22 |
-
"bot_message_template": "Có mấy event hợp mood bạn nè:\n{rag_results}\nBạn muốn xem chi tiết event nào?",
|
| 23 |
-
"expected_input_type": "event_name",
|
| 24 |
-
"next_step": 4
|
| 25 |
-
},
|
| 26 |
-
{
|
| 27 |
-
"id": 4,
|
| 28 |
-
"bot_message": "Bạn muốn nhận gợi ý mỗi tuần theo mood không?",
|
| 29 |
-
"expected_input_type": "choice",
|
| 30 |
-
"branches": {
|
| 31 |
-
"yes": {
|
| 32 |
-
"patterns": ["có", "yes"],
|
| 33 |
-
"next_step": 5
|
| 34 |
-
},
|
| 35 |
-
"no": {
|
| 36 |
-
"patterns": ["không"],
|
| 37 |
-
"next_step": 6
|
| 38 |
-
}
|
| 39 |
-
}
|
| 40 |
-
},
|
| 41 |
-
{
|
| 42 |
-
"id": 5,
|
| 43 |
-
"bot_message": "Cho mình email để gửi gợi ý hàng tuần nhé!",
|
| 44 |
-
"expected_input_type": "email",
|
| 45 |
-
"validation": "email",
|
| 46 |
-
"action": "save_mood_subscription",
|
| 47 |
-
"next_step": 6
|
| 48 |
-
},
|
| 49 |
-
{
|
| 50 |
-
"id": 6,
|
| 51 |
-
"bot_message": "Có dịp rồi hãy quay lại để xem các sự kiện khác nhé! 😊",
|
| 52 |
-
"end_scenario": true
|
| 53 |
-
}
|
| 54 |
-
]
|
| 55 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|