Spaces:
Sleeping
Sleeping
Sakshi
commited on
Commit
·
2cd968a
1
Parent(s):
2ecb7ea
removed bad for some rules
Browse files
policy_analyser/prompts/health/rules.txt
CHANGED
@@ -16,7 +16,7 @@ Extract the following data points from the policy document and apply rules on th
|
|
16 |
- "Restoration_Benefit" : if sum insured is restored after it gets exhausted
|
17 |
- "Preventive_Annual_Health_Checkup" : if free annual health checkup is covered
|
18 |
- "Ambulance_Cover" : cover on ambulance charges of hospitalization
|
19 |
-
- "Policy_Age" : duration of
|
20 |
|
21 |
IF Insured_Address_City in Top_Cities:
|
22 |
Is_Top_City = true
|
@@ -146,23 +146,15 @@ ELSE:
|
|
146 |
# Day care procedures
|
147 |
IF Daycare_Procedures:
|
148 |
Verdict = "Good"
|
149 |
-
ELSE:
|
150 |
-
Verdict = "Bad"
|
151 |
|
152 |
# Sum insured Restoration Benefit
|
153 |
IF Restoration_Benefit:
|
154 |
Verdict = "Good"
|
155 |
-
ELSE:
|
156 |
-
Verdict = "Bad"
|
157 |
|
158 |
#Preventive/ Annual Health Check-up
|
159 |
IF Preventive_Annual_Health_Checkup:
|
160 |
Verdict = "Good"
|
161 |
-
ELSE:
|
162 |
-
Verdict = "Bad"
|
163 |
|
164 |
# Ambulance Coverage
|
165 |
IF Ambulance_Cover:
|
166 |
-
Verdict = "Good"
|
167 |
-
ELSE:
|
168 |
-
Verdict = "Bad"
|
|
|
16 |
- "Restoration_Benefit" : if sum insured is restored after it gets exhausted
|
17 |
- "Preventive_Annual_Health_Checkup" : if free annual health checkup is covered
|
18 |
- "Ambulance_Cover" : cover on ambulance charges of hospitalization
|
19 |
+
- "Policy_Age" : duration of policy, policy end date - policy start date
|
20 |
|
21 |
IF Insured_Address_City in Top_Cities:
|
22 |
Is_Top_City = true
|
|
|
146 |
# Day care procedures
|
147 |
IF Daycare_Procedures:
|
148 |
Verdict = "Good"
|
|
|
|
|
149 |
|
150 |
# Sum insured Restoration Benefit
|
151 |
IF Restoration_Benefit:
|
152 |
Verdict = "Good"
|
|
|
|
|
153 |
|
154 |
#Preventive/ Annual Health Check-up
|
155 |
IF Preventive_Annual_Health_Checkup:
|
156 |
Verdict = "Good"
|
|
|
|
|
157 |
|
158 |
# Ambulance Coverage
|
159 |
IF Ambulance_Cover:
|
160 |
+
Verdict = "Good"
|
|
|
|