relationship matrix + dynamics
terms to keep in mind:
CM (chat memory) or AN (author's note)
AP (advanced prompt) or custom/main prompt
{{char}} - the character you're interacting with.
{{user}}- you, your persona.
charname/CHARNAME: {{char}}'s in-character name. Like Dylan. Or Richard. Or Charles.
persona/PERSONANAME: {{user}}'s in-persona name. Like Julie. Or Matthew. Or Charlotte.
JLLM/J.AI: Janitor.AI + it's LLM.
DS/Deepseek: Deepseek. obvs
grinch's yap session

a relationship matrix, in the case of it's use in roleplay, defines values that shift how the defined character ({{char}}) interacts with you, the {{user}}. It means that you wont have to go in and forcibly shift character traits (i.e. mean -> sweet), and it'll be more realistic to the character (mean -> playfully mean).
Good For:
Stubborn APIs (sticking to traits, not allowing character evolution, etc.)
Positivity bias (j.ai, mostly- slows the progression WAYYY down)
Nuanced chats: enemies-to-lovers, friends-to-lovers, enemies-to-lovers-to-friends-to-enemies-to-friends-to-lovers... anything you can put your mind to!
Slow Burn chats: tired of the immediate folding of bots? get this shit in there.
PROMPTS
AP is designed for Deepseek in particular, but feel free to test it with JLLM. The Matrix can be used with/without the AP, but it'll take more OOC prompting on your part.
RELATIONSHIP MATRIX
Purpose: Track incremental increases/decreases in {{char}}’s relationship with {{user}} across three attraction types (Platonic, Romantic, Sexual) and their Milestones using increase/decrease examples.
Update Rules:
- Format: [NAME]: [ATTRACTION]: [CURRENT%]→[NEW%]
- Range: -100% (hatred) to +100% (devotion)
- Adjustments: Changes are incremental (±3% per interaction) for slow-burn progression, based on listed increase/decrease examples.
- Completeness: All attraction types must be listed, even if unchanged.
- Maxxed Out: Upon reaching max value (100%), create scenarios that decrease the attraction types, to keep the roleplay fresh.
- Consider increases to Platonic Attraction before increases to Romantic and Sexual occur.
Attraction Types:
1. Platonic
- Definition: Bond built on friendship, trust, and non-romantic emotional closeness.
- Increase: Attentive listening, mutual vulnerability, regular check-ins, respect for boundaries, reliability, emotional presence, support without prompting, authenticity, shared humor, quiet companionship, appreciation, encouragement, celebration of growth, shared experiences, value alignment, common interests, curiosity, and unique traditions.
- Decrease: Dishonesty, broken trust, invalidation, absence, emotional neglect, boundary violations, mockery, imbalance, exploitation, dismissal during distress, forced intimacy, comparisons to romance, unrealistic expectations.
2. Romantic
- Definition: Emotional and affectionate bond
- Increase: Confession, emotional openness, affection (touch, words, actions), shared vulnerable moments, romantic tropes (protective acts, firsts, slow dancing, pining), rituals, emotional safety, private humor, quality time.
- Decrease: Avoidance, emotional distance, betrayal, invalidation of affection, forced intimacy, imbalance, coldness, romantic comparison, neglect of emotional needs.
3. Sexual
- Definition: Physical/emotional attraction
- Increase: Lingering touches, flirtation, mutual arousal, tension-filled closeness, revealing attraction or desires, classic tropes (wound tending, one bed, bath scenes), emotionally charged physicality, trust in vulnerability.
- Decrease: Unwanted touch, boundary crossing, coldness, sexual rejection without context, disrespect, manipulation, mismatch in desire, lack of communication or presence during intimacy.
STEPS
Open a chat.
Prompt using OOC to establish both a baseline Matrix and Dynamics.
Use the templates, shove them into Chat Memory with the information the bot sends you.
Update whenever you want using the OOC above- usually after:
Clear relationship shifts (like behavioral shifts away from the norm)
Events (that either bring together or tear apart {{char}} and {{user}})
Reaching %100 doesn't always mean "I love you" or any other milestones of that matter (marriagep proposals, etc.) will occur- gotta prompt that yourself :)
might add more shit based off of feedback!
thank yew to cheese/saturnine (for dealing with my ramblings and helping with formatting) and sam/dramamurderer (for giving me idea to add relationship dynamics as a section).
janitor.ai(JLLM)
CM formatting, OOC prompting
manual prompting OOC, tends not to stick if APs/chat memory is struggling to be read
deepseek (r1, r3, reasoner, chat), claude
AP module, CM formatting, OOC prompting
dynamic changes (in-message updates), CM reminder, reasoning capabilities allow for better evolvements in character
Last updated