From a42c0b5c2bfe91abee7f5a93096baf1fd7363768 Mon Sep 17 00:00:00 2001 From: Blade He Date: Wed, 13 Nov 2024 10:25:08 -0600 Subject: [PATCH] optimize retrieve fund instructions --- instructions/data_extraction_prompts_config.json | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instructions/data_extraction_prompts_config.json b/instructions/data_extraction_prompts_config.json index f1304e5..bf01d71 100644 --- a/instructions/data_extraction_prompts_config.json +++ b/instructions/data_extraction_prompts_config.json @@ -30,7 +30,7 @@ "---- context:", "Summary information\nCapital International Fund Audited Annual Report 2023 | 15\nFootnotes are on page 17.\nCapital Group Multi-Sector \nIncome Fund (LUX) \n(CGMSILU)\nCapital Group US High Yield \nFund (LUX) (CGUSHYLU)\nCapital Group Emerging \nMarkets Debt Fund (LUX) \n(CGEMDLU)", "---- fund names: Capital International Group Multi-Sector Income Fund (LUX), Capital International Group US High Yield Fund (LUX), Capital International Group Emerging Markets Debt Fund (LUX)", - "c. The fund name should be the nearest fund for relevant share/ data point/ value.", + "c. If with multiple fund names in context, please retrieve the fund name closest above the numerical value.", "c.1 fund name example:", "---- context:", "AXA World Funds ACT Emerging Markets Bonds\nAXA World Funds \n \nAdditional Unaudited Appendix \n\nƒ$GGLWLRQDO8QDXGLWHG$SSHQGL[$118$/5(3257$;$:RUOG)XQGV\nExpense Ratios (continued) \n \nCalculated TER (1) \nSwiss method \nApplied\nService Fee (2)\nOngoing \nCharges (3) \n \nwith performance \nfees \nwithout performance \nfees \n \nAXA World Funds - ACT Emerging Markets Short Duration Bonds Low Carbon \nA Capitalisation CHF Hedged \n1.26% \n1.26% \n0.26% \n1.29%", diff --git a/main.py b/main.py index 176120b..2468ee2 100644 --- a/main.py +++ b/main.py @@ -1113,7 +1113,7 @@ if __name__ == "__main__": special_doc_id_list = ["506326520"] output_mapping_child_folder = r"/data/emea_ar/output/mapping_data/docs/" output_mapping_total_folder = r"/data/emea_ar/output/mapping_data/total/" - re_run_extract_data = True + re_run_extract_data = False re_run_mapping_data = True force_save_total_data = False calculate_metrics = False