feat: Implement core application structure, AI extraction, persistence, and Telegram bot modules with updated configuration and dependencies.

This commit is contained in:
Marco Gallegos
2025-12-18 12:15:04 -06:00
parent 7276e480b0
commit 899482580e
45 changed files with 1157 additions and 225 deletions

View File

@@ -0,0 +1,13 @@
"""
Data validation functions.
"""
def is_valid_expense(data: dict) -> bool:
"""
Validates if the extracted data for an expense is plausible.
Stub function.
"""
# Example validation: amount must be positive
if "amount" in data and data["amount"] <= 0:
return False
return True