diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 4c506d4..116c71b 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -16,10 +16,14 @@
+
+
-
\ No newline at end of file
+
+
+
diff --git a/app/src/main/kotlin/com/example/aisecretary/ai/memory/MemoryManager.kt b/app/src/main/kotlin/com/example/aisecretary/ai/memory/MemoryManager.kt
index 53efbc1..17db15d 100644
--- a/app/src/main/kotlin/com/example/aisecretary/ai/memory/MemoryManager.kt
+++ b/app/src/main/kotlin/com/example/aisecretary/ai/memory/MemoryManager.kt
@@ -25,6 +25,15 @@ class MemoryManager(
Pattern.compile("(?i)my (.+?) (?:is|are) (.+)")
)
+ // Patterns to detect reminder statements
+ private val reminderPatterns = listOf(
+ Pattern.compile("(?i)remind me (?:at|in) (.+?) to (.+)"),
+ Pattern.compile("(?i)set reminder (?:for|at) (.+?) (?:to|for) (.+)"),
+ Pattern.compile("(?i)alert me (?:at|in) (.+?) about (.+)"),
+ Pattern.compile("(?i)remind me (.+?) (?:to|for) (.+)"),
+ Pattern.compile("(?i)can you remind me (?:at|in) (.+?) to (.+)")
+ )
+
// Pattern to detect JSON objects in text
private val jsonPattern = Pattern.compile("\\{(?:[^{}]|\\{[^{}]*\\})*\\}")
@@ -201,4 +210,4 @@ data class MemoryDetectionResult(
val memoryKey: String = "",
val memoryValue: String = "",
val isFromJson: Boolean = false
-)
\ No newline at end of file
+)
diff --git a/app/src/main/kotlin/com/example/aisecretary/data/model/MemoryFact.kt b/app/src/main/kotlin/com/example/aisecretary/data/model/MemoryFact.kt
index a18b53d..c565bd7 100644
--- a/app/src/main/kotlin/com/example/aisecretary/data/model/MemoryFact.kt
+++ b/app/src/main/kotlin/com/example/aisecretary/data/model/MemoryFact.kt
@@ -14,5 +14,9 @@ data class MemoryFact(
val id: Long = 0,
val key: String,
val value: String,
- val timestamp: Long = System.currentTimeMillis()
-)
\ No newline at end of file
+ val timestamp: Long = System.currentTimeMillis(),
+ val isReminder: Boolean = false,
+ val reminderTime: Long? = null,
+ val isCompleted: Boolean = false,
+ val reminderType: String? = null
+)