๐ Retrieve & Calculate Expenses โ
The AI can look up past expenses by category or show all expenses. It can also calculate totals using an internal calculator tool.
๐ฏ Common Queries โ
You can ask things like:
text
How much did I spend on lunch?
Show me all my smoke expenses this week
What is my total spending this month?
๐ Category-Based Retrieval โ
The Get Expense By Category
tool is used when you ask:
What did I spend on [CATEGORY]?
It returns only the rows that match the category
and then summarizes the result.
๐งฎ Using the Calculator Tool โ
If your query involves total, sum, or average, the AI will:
- Retrieve matching rows
- Extract Amount values
- Send them to the Calculator tool
- Return the result, like:
text
You spent 1,450 BDT on Lunch this month across 12 entries.
๐ Output Example โ
text
2025-07-22 | Lunch at FoodBox | Lunch | 150
2025-07-23 | Office canteen | Lunch | 120
2025-07-24 | Tabaq Dine | Lunch | 180
๐ฐ Total: 450 BDT across 3 entries.
โ ๏ธ Limitations โ
- No natural language date filters yet (e.g., "last week")
- It assumes current month unless you provide specific dates
- Miswritten categories won't match โ be specific