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:
+1
-3
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user