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).
The matrix has both attraction types, adjusted by specific events. Attraction types are as follows:
Platonic: "A bond built on friendship, trust, and non-romantic emotional closeness." (j.ai users: platonic is replaced by "friendship" to allow jllm to understand wtf platonic means, since it can't exactly be defined in AP.)
Romantic: "Emotional and effectionate bond."
Sexual: "Physical/emotional attraction."
Relationship Dynamics were first introduced by Astarth + Lyra. It gives JLLM/DS something to follow in terms of how they should act (markers) and how they should define {{char}}'s relationship to {{user}}.
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.
JLLM USERS: Replace Platonic with Friendship, as I doubt JLLM will work well w/ Platonic.
MULTI-CHARACTER BOTS:
RELATIONSHIP DYNAMIC FORMATTING:
FOR DEEPSEEK
^ to remind it to update the matrix charts
(ANY API)
^ for starting message/roleplay start form OR for getting updates for it.
OTHER OOC PROMPTING (to be put in Chat Memory or in-msg):
(good if you want an idea of how {{char}} is doing with building/devolving relationships with {{user}}, and it's also fun to read:)
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