Sakshi commited on
Commit
17a94b9
·
1 Parent(s): 2856ddc

added extraction section in rules

Browse files
policy_analyser/prompts/analysis.txt CHANGED
@@ -4,7 +4,6 @@ Apply the following rules enclosed in triple backticks on the policy to analyse
4
  Make sure you are consider values for analysis factors on basis of customer's selected insurance plan when multiple plans are described in the policy terms.
5
  Make sure all factors appear in one of Good, Average or Bad only. No factor should be repeated in more than 1 verdict table.
6
  Note : Top cities = [Mumbai, Delhi, Bangalore, Chennai, Hyderabad, Gurgaon, Pune]
7
- Parameters : ["Sum Insured", "Adults", "Children", "Is Top City", "Room Rent Limit", "Deductible", "Sublimits", "Copay", "PED Waiting Period", "Thirty Day Waiting Period", "Specific Illness Waiting Period", "Maternity Benefits"]
8
  ```
9
  {{rules}}
10
  ```
 
4
  Make sure you are consider values for analysis factors on basis of customer's selected insurance plan when multiple plans are described in the policy terms.
5
  Make sure all factors appear in one of Good, Average or Bad only. No factor should be repeated in more than 1 verdict table.
6
  Note : Top cities = [Mumbai, Delhi, Bangalore, Chennai, Hyderabad, Gurgaon, Pune]
 
7
  ```
8
  {{rules}}
9
  ```
policy_analyser/prompts/health/rules.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  IF Insured_Address_City in Top_Cities:
2
  Is_Top_City = true
3
  ELSE:
 
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
6
  ELSE: