samithcs commited on
Commit
b3db405
·
verified ·
1 Parent(s): 1e4446c

Update src/components/recommendation_engine.py

Browse files
src/components/recommendation_engine.py CHANGED
@@ -68,36 +68,6 @@ def generate_recommendation(
68
  }
69
 
70
  if __name__ == "__main__":
 
71
 
72
- ex1 = generate_recommendation(
73
- risk_score=0.85,
74
- region="Shanghai",
75
- recent_incidents=['port strike', 'supplier outage', 'heavy rain'],
76
- weather_alert='Typhoon warning',
77
- intent="mitigation_help",
78
- origin="Shanghai",
79
- destination="Los Angeles"
80
- )
81
- print("\n--- Example Recommendation ---")
82
- print(ex1["message"])
83
-
84
- ex2 = generate_recommendation(
85
- risk_score=0.55,
86
- region="Delhi",
87
- recent_incidents=['route accident', 'moderate rain'],
88
- weather_alert=None,
89
- intent="risk_check",
90
- origin="Delhi",
91
- destination="Dubai"
92
- )
93
- print("\n--- Example Recommendation ---")
94
- print(ex2["message"])
95
-
96
- ex3 = generate_recommendation(
97
- risk_score=0.15,
98
- region="Mumbai",
99
- recent_incidents=[],
100
- intent=None
101
- )
102
- print("\n--- Example Recommendation ---")
103
- print(ex3["message"])
 
68
  }
69
 
70
  if __name__ == "__main__":
71
+ main()
72
 
73
+