After every conversation, the system:
Analyzes conversation tone:
Counts positive words: "friend", "help", "love", "enjoy", etc.
Counts negative words: "annoying", "hate", "wrong", "angry", etc.
Counts neutral words: "maybe", "okay", "fine"
Calculates friendship change:
+1 to +3 points
-2 to -5 points
+0.5 points
Updates relationship:
Friendship level: 0-100 scale
Relationship type:
0-20: stranger
21-40: acquaintance
41-60: friend
61-80: close friend
81-100: best friend
Tracks metadata:
Total conversations
Last interaction time
Memorable topics
Last updated 3 hours ago