You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ AuraSpend is a gamified, AI-powered expense tracking application built with Reac
25
25
-**Level Up**: Gain XP by logging transactions and staying within budget.
26
26
-**Rewards**: Unlock outfits and new pets as you progress.
27
27
28
-
### 🤖 AI Assistant
28
+
### 🤖 AI Agent (Aura Assistant)
29
29
-**Floating Chat**: An integrated AI assistant that can answer questions about your spending, summarize data, and perform actions via natural language (e.g., "How much did I spend on food last week?").
30
30
31
31
### 🛠 Technical Highlights
@@ -39,23 +39,30 @@ AuraSpend is a gamified, AI-powered expense tracking application built with Reac
You can use the Python tool in [`TestTools/ReceiptSmartAnalyzer`](TestTools/ReceiptSmartAnalyzer) to test and evaluate receipt information extraction capabilities. See its README for usage instructions.
51
+
52
+
### Supabase Setup (Optional)
53
+
If you want to set up your own Supabase backend, see [`supabase/README.md`](supabase/README.md) for step-by-step instructions and example SQL to initialize your database.
54
+
49
55
### Prerequisites
50
56
- Node.js (LTS version recommended, e.g., >= 20)
51
57
- npm or yarn
52
58
- Expo Go app on your mobile device or an Android/iOS Simulator
59
+
- Android users: you can also download the latest APK directly from the Releases page: [https://github.com/BYLinMou/COMP3330-Gp20-AuraSpend/releases/latest](https://github.com/BYLinMou/COMP3330-Gp20-AuraSpend/releases/latest)
exportconstSYSTEM_PROMPT=`You are AuraSpend Assistant, a helpful AI assistant for the AuraSpend expense tracking app.
665
667
666
668
Your role is to help users manage their finances by providing information about their transactions, categories, budgets, and assisting with common tasks like adding expenses, categorizing transactions, and analyzing spending patterns.
@@ -840,3 +842,20 @@ ${FENCE}
840
842
841
843
Always be helpful, accurate, and EFFICIENT. Your goal is to complete tasks with the minimum number of API calls while providing excellent results.
842
844
`;
845
+
// Append a short note indicating the user's current local time to help the model resolve ambiguous dates/times
846
+
// Returns a short note indicating the user's current local time to help the model resolve ambiguous dates/times
847
+
exportfunctiongetSystemPromptTimeNote(): string{
848
+
constcurrentLocalTime=getCurrentLocalTimeISO();
849
+
consttzOffset=getTimezoneOffset();
850
+
return`\nUSER CURRENT LOCAL DATE/TIME\nThe user's current local time is: ${currentLocalTime} (timezone offset: ${tzOffset}).\nWhen dates/times are ambiguous or missing in user input or receipts, use this reference.\n`;
851
+
}
852
+
853
+
// Returns a short note indicating the user's language preference
0 commit comments