update prompts to extract TOR, OGC, TER, Performance fees data.

This commit is contained in:
Blade He 2024-08-30 16:37:00 -05:00
parent 63da030fe1
commit f81e2862f3
2 changed files with 27 additions and 26 deletions

View File

@ -17,9 +17,7 @@ The TOR reported name could be:
TOR, Turnover Ratio, Portfolio Turnover, Portfolio turnover ratio, PTR, etc.
The TER reported name could be:
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
Notice, below reported names are not for TER: "Management Fee"
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees, Capped Expense Ratio, etc.
The performance fees reported name could be:
performance fees, performance fees ratio, Performance, etc.
@ -27,8 +25,6 @@ performance fees, performance fees ratio, Performance, etc.
The OGC reported name could be:
OGC, OGF, Ongoing Charge, Operation Charge, Ongoing charges in per cent, Ongoing charges in percent, Ongoing charges as a percentage, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
Notice, below reported names are not for OGC: "Taxe d Abonnement in % p.a.", "Management Fee"
Data business features:
1. Most of cases, the data is in the table(s) of context.
2. TOR is fund level data.
@ -40,13 +36,17 @@ Data business features:
- The TOR value could be more than 100, e.g. 126.33.
- The TOR and performance fees could be negative number, e.g. -7.99.
5. Special TER rule
If there are multiple TER value columns, here is the priority rules:
5.1 If there are multiple TER value columns, here is the priority rules:
- With "TER with Performance Fee" and "Fund TER", pick up the values from "TER with Performance Fee".
- With "TER including Performance Fee" and "TER excluding Performance Fee", pick up the values from "TER including Performance Fee".
- With "Synthetic TER" and "Fund TER", pick up the values from "Synthetic TER".
- With both of "Synthetic TER" and "Fund TER", if "Synthetic TER" with value(s), pick up the value(s) from "Synthetic TER", otherwise, pick up the value(s) from "Fund TER".
- With both of "Net TER (including reimbursement)" and "Capped Expense Ratio", the priority is "Capped Expense Ratio", please exclude the column: "Net TER (including reimbursement)", only pick up the values from "Capped Expense Ratio".
5.2 Please ignore TER values which with the exception of performance fees or excluded performance fees.
6. If with multiple data values in same row, please extract the latest.
7. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
7. Only output the values which with significant reported names.
- Please exclude below reported names and relevant values: "Management Fees", "Management", "Management Fees p.a.", "Taxe d Abonnement in % p.a.".
DON'T EXTRACT MANAGEMENT FEES!
8. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
Special cases:
1. Performance fees is part of TER.
@ -88,7 +88,7 @@ Here is the example:
PERFORMANCE\nHISTORICAL PERFORMANCE\nHISTORICAL PERFORMANCE\nFrom \n1 July \nFrom \n19 July \nFrom \n1 January \nFrom \n27 April \nFrom \n19 July \nFrom \n1 January \n2021\nFrom \n22 May \n2021\nFrom \n16 July \n2021\nFrom \n21 September \n2021\nto 30 June 2023\nto 31 December 2022\nto 31 December 2021\nAsia Total Return Fund Class I5 (CHF Hedged) Acc\n6.73%\n \n-13.32%\n \n \n 6.04%\n \n \n \n
The output should be:
[
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]},
]
The keyword for performance fees is PERFORMANCE, the value 6.73 is the first number with the latest date-time.
@ -131,3 +131,4 @@ Don't output the value which not exist in context, especiall for fund level data
If can't find share class name in context, please output empty JSON data: []
Answer:

View File

@ -8,9 +8,7 @@ The TOR reported name could be:
TOR, Turnover Ratio, Portfolio Turnover, Portfolio turnover ratio, PTR, etc.
The TER reported name could be:
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees,etc.
Notice, below reported names are not for TER: "Management Fee"
TER, Total Expense Ratio, Total expense ratio as a percentage, Total Fund Charge, Gross Expense Ratio, All in fee, Total Net Expense Ratio, Weighted Average Expense Ratio, Synthetic total Expense Ratio, Annualised TER including performance fees, Capped Expense Ratio, etc.
The performance fees reported name could be:
performance fees, performance fees ratio, Performance, etc.
@ -18,8 +16,6 @@ performance fees, performance fees ratio, Performance, etc.
The OGC reported name could be:
OGC, OGF, Ongoing Charge, Operation Charge, Ongoing charges in per cent, Ongoing charges in percent, Ongoing charges as a percentage, On Going Charges, Operating Charge, Ongoing Fund Charge, etc.
Notice, below reported names are not for OGC: "Taxe d Abonnement in % p.a.", "Management Fee"
Data business features:
1. Most of cases, the data is in the table(s) of context.
2. TOR is fund level data.
@ -31,13 +27,17 @@ Data business features:
- The TOR value could be more than 100, e.g. 126.33.
- The TOR and performance fees could be negative number, e.g. -7.99.
5. Special TER rule
If there are multiple TER value columns, here is the priority rules:
5.1 If there are multiple TER value columns, here is the priority rules:
- With "TER with Performance Fee" and "Fund TER", pick up the values from "TER with Performance Fee".
- With "TER including Performance Fee" and "TER excluding Performance Fee", pick up the values from "TER including Performance Fee".
- With "Synthetic TER" and "Fund TER", pick up the values from "Synthetic TER".
- With both of "Synthetic TER" and "Fund TER", if "Synthetic TER" with value(s), pick up the value(s) from "Synthetic TER", otherwise, pick up the value(s) from "Fund TER".
- With both of "Net TER (including reimbursement)" and "Capped Expense Ratio", the priority is "Capped Expense Ratio", please exclude the column: "Net TER (including reimbursement)", only pick up the values from "Capped Expense Ratio".
5.2 Please ignore TER values which with the exception of performance fees or excluded performance fees.
6. If with multiple data values in same row, please extract the latest.
7. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
7. Only output the values which with significant reported names.
- Please exclude below reported names and relevant values: "Management Fees", "Management", "Management Fees p.a.", "Taxe d Abonnement in % p.a.".
DON'T EXTRACT MANAGEMENT FEES!
8. One fund could be with multiple share classes and relevant TER, performance fees or OGC values.
Special cases:
1. Performance fees is part of TER.
@ -79,7 +79,7 @@ Here is the example:
PERFORMANCE\nHISTORICAL PERFORMANCE\nHISTORICAL PERFORMANCE\nFrom \n1 July \nFrom \n19 July \nFrom \n1 January \nFrom \n27 April \nFrom \n19 July \nFrom \n1 January \n2021\nFrom \n22 May \n2021\nFrom \n16 July \n2021\nFrom \n21 September \n2021\nto 30 June 2023\nto 31 December 2022\nto 31 December 2021\nAsia Total Return Fund Class I5 (CHF Hedged) Acc\n6.73%\n \n-13.32%\n \n \n 6.04%\n \n \n \n
The output should be:
[
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]}
{"fund name": "Asia Total Return Fund", "share data": ["share name": "Class I5 (CHF Hedged) Acc", "performance fees": 6.73]},
]
The keyword for performance fees is PERFORMANCE, the value 6.73 is the first number with the latest date-time.