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:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user