Add test script for manual JSON parser with LLM currency conversion

- Implemented a new test script `test_parser.py` to validate the functionality of the manual JSON parser.
- The script loads investor data from a CSV file and processes a sample of three investors.
- Results include detailed information about each investor, their funds, team members, and investment thesis.
- Added error handling for missing API key in the environment variables.
This commit is contained in:
bolade
2025-10-06 14:07:28 +01:00
parent c199f5423a
commit cd7172ed9f
11 changed files with 31090 additions and 49 deletions
+1 -3
View File
@@ -83,9 +83,7 @@ class InvestorTable(Base, TimestampMixin):
headquarters = Column(String, nullable=True)
# AUM fields
aum = Column(
String, nullable=True
) # Store as string to preserve currency (e.g., "EUR 850,000,000")
aum = Column(Integer, nullable=True) # Store as integer for numerical filtering
aum_as_of_date = Column(String, nullable=True)
aum_source_url = Column(String, nullable=True)