user-groupRelationships

Relationship system

After every conversation, the system:

  1. 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"

  1. Calculates friendship change:

Positive conversation:
Negative conversation:
Neutral:

+1 to +3 points

-2 to -5 points

+0.5 points

  1. 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

  1. Tracks metadata:

  • Total conversations

  • Last interaction time

  • Memorable topics

Last updated