Spaces:
Sleeping
Sleeping
Sakshi
commited on
Commit
·
ca4343d
1
Parent(s):
801518f
added rules
Browse files
policy_analyser/prompts/health/rules.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
Extract the following data points from the policy document and apply rules on them:
|
2 |
-
Parameters : ["Sum Insured", "Adults", "Children", "Insured_Address_City", "Room Rent Limit", "Deductible", "Sublimits", "Copay", "PED Waiting Period", "Thirty Day Waiting Period", "Specific Illness Waiting Period", "Maternity Benefits"]
|
3 |
|
4 |
IF Insured_Address_City in Top_Cities:
|
5 |
Is_Top_City = true
|
@@ -117,5 +117,35 @@ IF Maternity_Benefits:
|
|
117 |
Verdict = "Bad"
|
118 |
ELSE:
|
119 |
Verdict = "Good"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
ELSE:
|
121 |
Verdict = "Bad"
|
|
|
1 |
Extract the following data points from the policy document and apply rules on them:
|
2 |
+
Parameters : ["Sum Insured", "Adults", "Children", "Insured_Address_City", "Room Rent Limit", "Deductible", "Sublimits", "Copay", "PED Waiting Period", "Thirty Day Waiting Period", "Specific Illness Waiting Period", "Maternity Benefits", "Pre_Post_Hospitalization", "Daycare_Procedures", "Restoration_Benefit", "Preventive_Annual_Health_Checkup", "Ambulance_Cover"]
|
3 |
|
4 |
IF Insured_Address_City in Top_Cities:
|
5 |
Is_Top_City = true
|
|
|
117 |
Verdict = "Bad"
|
118 |
ELSE:
|
119 |
Verdict = "Good"
|
120 |
+
ELSE:
|
121 |
+
Verdict = "Bad"
|
122 |
+
|
123 |
+
# Pre/ post hospitalization benefits
|
124 |
+
IF Pre_Post_Hospitalization:
|
125 |
+
Verdict = "Good"
|
126 |
+
ELSE:
|
127 |
+
Verdict = "Bad"
|
128 |
+
|
129 |
+
# Day care procedures
|
130 |
+
IF Daycare_Procedures:
|
131 |
+
Verdict = "Good"
|
132 |
+
ELSE:
|
133 |
+
Verdict = "Bad"
|
134 |
+
|
135 |
+
# Sum insured Restoration Benefit
|
136 |
+
IF Restoration_Benefit:
|
137 |
+
Verdict = "Good"
|
138 |
+
ELSE:
|
139 |
+
Verdict = "Bad"
|
140 |
+
|
141 |
+
#Preventive/ Annual Health Check-up
|
142 |
+
IF Preventive_Annual_Health_Checkup:
|
143 |
+
Verdict = "Good"
|
144 |
+
ELSE:
|
145 |
+
Verdict = "Bad"
|
146 |
+
|
147 |
+
# Ambulance Coverage
|
148 |
+
IF Ambulance_Cover:
|
149 |
+
Verdict = "Good"
|
150 |
ELSE:
|
151 |
Verdict = "Bad"
|