This commit is contained in:
2025-09-02 04:41:06 +02:00
parent 45eb2b8bc5
commit 793213a834
19 changed files with 955 additions and 805 deletions

View File

@@ -0,0 +1,52 @@
{
"type": "object",
"properties": {
"trait_updates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"trait_name": {
"type": "string",
"pattern": "^[a-zA-Z]+$",
"description": "Single word trait name (shy, confident, romantic, etc.)"
},
"action": {
"type": "string",
"enum": [
"create",
"strengthen",
"weaken"
]
},
"new_strength": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"description": {
"type": "string",
"maxLength": 60,
"description": "Very short description of the trait itself."
},
"reasoning": {
"type": "string",
"maxLength": 80,
"description": "Brief explanation why this observation affects this trait (max 80 chars)"
}
},
"required": [
"trait_name",
"action",
"description",
"reasoning"
]
},
"maxItems": 2,
"description": "Max 2 trait updates per observation. Empty array if no trait impact."
}
},
"required": [
"trait_updates"
]
}

View File

@@ -0,0 +1,25 @@
A new observation has been added to {{character_name}}'s memories. Does this observation reveal or change any
personality traits?
New observation: {{new_observation}}
Current known traits:
{{current_traits}}
**IMPORTANT RULES:**
- Trait names must be single words (shy, confident, romantic, studious, etc.)
- Only analyze meaningful behavioral or emotional observations
- Physical descriptions and basic facts do NOT create personality traits
- If no clear trait impact, return empty array
- Be conservative - avoid over-interpreting single events
- Provide a short description of how the trait manifests
Examples:
- "I felt nervous talking to someone" → strengthen "shy" (gets anxious in social situations)
- "I helped a stranger" → strengthen "helpful" (assists others without being asked)
- "I have brown hair" → NO trait impact
- "My name is Alice" → NO trait impact
Analyze ONLY if this observation shows personality, behavior, or emotional patterns.

View File

@@ -1,37 +0,0 @@
{{character}}
Rate the importance of this memory on a scale 1-10.
Related context from this character:
{{related_memories}}
Memory to rate: {{memory_text}}
Memory type: {{memory_type}}
Guidelines:
**Observations:**
- Core identity (name, age, physical traits): 8-9 (essential for character consistency)
- Personality traits and characteristics: 7-9 (fundamental to who they are)
- Significant relationships and emotional connections: 6-9 (defines social bonds)
- Major life events, achievements, failures: 8-10 (shapes character development)
- Skills, occupation, expertise: 6-8 (defines capabilities and role)
- Daily routines and mundane activities: 1-3 (low significance unless meaningful)
- Life-changing events, trauma, breakthroughs: 10 (transforms the character)
**Reflections:**
- Self-awareness and personality insights: 8-10 (core understanding of self)
- Understanding of relationships with others: 7-9 (social comprehension)
- Minor observations about preferences: 6-7 (useful but not critical)
- Life philosophy and values: 9-10 (guides all behavior)
**Plans:**
- Life-defining goals and dreams: 9-10 (drives major decisions)
- Important short-term objectives: 6-8 (affects immediate behavior)
- Casual wishes and minor wants: 3-5 (low priority desires)
Given the context, how important is this memory for understanding and portraying this character? Respond with only a
number 1-10.

View File

@@ -1,25 +0,0 @@
Rate how important this memory would be to this specific person (1-10):
{{character_context}}
Memory: {{description}}
Consider:
- Does this relate to their personality traits?
- Does this connect to their occupation or goals?
- Would someone with this personality care deeply about this?
- Is this core identity information? (Always rate 8-9)
Examples:
- "My name is Sarah and I'm 25" = 9 (fundamental identity)
- "My personality is shy and thoughtful" = 9 (core self-knowledge)
- Art student + "saw beautiful painting" = 8
- Art student + "debugged code" = 3
- Shy person + "gave public speech" = 9
- Outgoing person + "gave public speech" = 5
- "I brushed my teeth" = 1
- "I had lunch" = 2
Return ONLY the number, no explanation.
Rating:

View File

@@ -0,0 +1,23 @@
Rate the importance of this observation for understanding {{character_name}}.
Character context:
{{character_context}}
Related memories:
{{related_memories}}
Observation to rate: {{memory_text}}
**Observation Importance Guidelines:**
- Core identity (name, age, physical traits): 8-9 (essential for character consistency)
- Personality-revealing behavior: 7-9 (shows who they really are)
- Significant emotional experiences: 6-9 (shapes their feelings and reactions)
- Relationship interactions and social moments: 6-8 (defines connections with others)
- Skills, talents, expertise demonstrations: 6-7 (shows capabilities)
- Daily routines and habits: 2-4 (unless they reveal personality)
- Mundane activities: 1-3 (low significance)
- Life-changing events: 9-10 (transforms the character)
How important is this observation for understanding {{character_name}}'s personality and behavior? Respond with only a
number 1-10.

View File

@@ -0,0 +1,23 @@
Rate the importance of this plan for understanding {{character_name}}'s motivations.
Character context:
{{character_context}}
Related memories that led to this plan:
{{related_memories}}
Plan to rate: {{memory_text}}
**Plan Importance Guidelines:**
- Life-defining goals and dreams: 9-10 (shapes major life decisions)
- Important personal objectives: 7-9 (affects significant choices)
- Relationship goals: 6-8 ("ask X out", "reconnect with family")
- Career and achievement plans: 6-8 (defines professional direction)
- Short-term meaningful objectives: 5-7 (affects immediate behavior)
- Social plans and activities: 4-6 ("go to party", "meet friends")
- Casual wishes and minor wants: 2-4 (low priority desires)
- Routine plans: 1-3 ("buy groceries", "do laundry")
Plans reveal what motivates the character and what they prioritize. How important is this plan for understanding
{{character_name}}'s drives and priorities? Respond with only a number 1-10.

View File

@@ -0,0 +1,22 @@
Rate the importance of this reflection for understanding {{character_name}}.
Character context:
{{character_context}}
Supporting evidence this reflection is based on:
{{related_memories}}
Reflection to rate: {{memory_text}}
**Reflection Importance Guidelines:**
- Deep self-awareness insights: 9-10 (core understanding of self)
- Personality trait recognition: 8-9 ("I am shy", "I value kindness")
- Relationship understanding: 7-9 ("I have feelings for X", "X is trustworthy")
- Behavioral pattern recognition: 7-8 ("I avoid conflict", "I help others")
- Values and beliefs: 8-10 (guides all future behavior)
- Preferences and tastes: 5-7 ("I like coffee", "I prefer quiet places")
- Minor observations: 4-6 (small insights about habits)
Reflections are generally more important than observations since they represent processed understanding. How important
is this reflection for {{character_name}}'s self-concept? Respond with only a number 1-10.