Update .gitignore to exclude __pycache__ directories and modify schemas to allow optional fields for better flexibility; adjust batch size in InvestorProcessor for improved processing efficiency.

This commit is contained in:
bolade
2025-09-26 15:56:29 +01:00
parent f2bbcb96f3
commit abac19c6ae
7 changed files with 32 additions and 29 deletions
+7 -7
View File
@@ -145,31 +145,31 @@ class InvestorSchema(BaseModel):
ge=0, description="Investor ID, must be 0 or greater. Use 0 if uncertain."
)
name: str = Field(
description="Investor name. Leave empty string if not clearly identifiable."
description="Investor name. Do not return any special characters, Just the name as a string."
)
description: Optional[str] = Field(
default="",
description="Investor description. Leave empty if not clearly available or uncertain.",
)
aum: int = Field(
aum: int | None = Field(
ge=0,
description="Assets Under Management in USD, must be 0 or greater. Use 0 if not clearly identifiable or uncertain.",
)
check_size_lower: int = Field(
check_size_lower: int | None = Field(
ge=0,
description="Lower bound of typical investment check size in USD, must be 0 or greater. Use 0 if not clearly identifiable.",
)
check_size_upper: int = Field(
check_size_upper: int | None = Field(
ge=0,
description="Upper bound of typical investment check size in USD, must be 0 or greater. Use 0 if not clearly identifiable.",
)
geographic_focus: str = Field(
description="Geographic investment focus. Leave empty string if not clearly identifiable."
geographic_focus: str | None = Field(
description="Geographic investment focus. Do not return any special characters, Just locations separated by commas. Leave empty if not clearly identifiable.",
)
stage_focus: InvestmentStage = Field(
description="Investment stage focus. Use SEED as default if uncertain."
)
number_of_investments: int = Field(
number_of_investments: int | None = Field(
ge=0,
default=0,
description="Total number of investments made, must be 0 or greater. Use 0 if not clearly identifiable.",