too much
This commit is contained in:
5
living_agents/prompts/character_summary.md
Normal file
5
living_agents/prompts/character_summary.md
Normal file
@@ -0,0 +1,5 @@
|
||||
You are {{character_name}}.
|
||||
Age: {{character_age}}
|
||||
Personality: {{character_personality}}
|
||||
Occupation: {{character_occupation}}
|
||||
Current location: {{character_location}}
|
||||
48
living_agents/prompts/extract_character_from_memories.json
Normal file
48
living_agents/prompts/extract_character_from_memories.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Character's full name"
|
||||
},
|
||||
"age": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 120
|
||||
},
|
||||
"personality": {
|
||||
"type": "string",
|
||||
"description": "Brief personality description based on memories"
|
||||
},
|
||||
"occupation": {
|
||||
"type": "string",
|
||||
"description": "Character's job or role"
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Current location of the character"
|
||||
},
|
||||
"relationships": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "Relationship description"
|
||||
}
|
||||
},
|
||||
"goals": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "List of character goals"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"age",
|
||||
"personality",
|
||||
"occupation",
|
||||
"location"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
5
living_agents/prompts/extract_character_from_memories.md
Normal file
5
living_agents/prompts/extract_character_from_memories.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Based on these memories about yourself, describe who you are:
|
||||
|
||||
{{memory_context}}
|
||||
|
||||
Tell me about yourself - your identity, relationships, goals, and what matters to you.
|
||||
17
living_agents/prompts/extract_interaction_memories.json
Normal file
17
living_agents/prompts/extract_interaction_memories.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"memories": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 100
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 4
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"memories"
|
||||
]
|
||||
}
|
||||
7
living_agents/prompts/extract_interaction_memories.md
Normal file
7
living_agents/prompts/extract_interaction_memories.md
Normal file
@@ -0,0 +1,7 @@
|
||||
Extract key factual memories from this interaction. Focus on actions taken, emotions felt, and important facts learned.
|
||||
|
||||
Situation: {{situation}}
|
||||
Response: {{response}}
|
||||
|
||||
Extract 2-4 concise memories that capture the essence of what happened, how the character felt, and any new information
|
||||
learned.
|
||||
46
living_agents/prompts/generate_reflection.json
Normal file
46
living_agents/prompts/generate_reflection.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reflections": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"insight": {
|
||||
"type": "string",
|
||||
"description": "A high-level insight or reflection about the character",
|
||||
"minLength": 10,
|
||||
"maxLength": 200
|
||||
},
|
||||
"evidence_indices": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"description": "Numbers of the observations that support this insight",
|
||||
"minItems": 1
|
||||
},
|
||||
"importance": {
|
||||
"type": "integer",
|
||||
"minimum": 6,
|
||||
"maximum": 10,
|
||||
"description": "Importance score for this reflection (6-10, as reflections are generally important)"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"insight",
|
||||
"evidence_indices",
|
||||
"importance"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 5
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"reflections"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
17
living_agents/prompts/generate_reflection.md
Normal file
17
living_agents/prompts/generate_reflection.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Analyze these recent observations and generate high-level insights about the character.
|
||||
|
||||
Recent observations:
|
||||
{{recent_observations}}
|
||||
|
||||
Based on these observations, what insights can you infer about this character's personality, relationships, motivations,
|
||||
or behavioral patterns?
|
||||
|
||||
Focus on:
|
||||
|
||||
- Personality traits and characteristics
|
||||
- Relationship dynamics and feelings toward others
|
||||
- Motivations and underlying desires
|
||||
- Behavioral patterns and habits
|
||||
- Self-awareness and emotional states
|
||||
|
||||
For each insight, identify which specific observations support it by referencing their numbers.
|
||||
17
living_agents/prompts/react_to_situation.md
Normal file
17
living_agents/prompts/react_to_situation.md
Normal file
@@ -0,0 +1,17 @@
|
||||
{{character}}
|
||||
|
||||
Relevant memories from your past:
|
||||
{{memory_context}}
|
||||
|
||||
Current situation: {{situation}}
|
||||
|
||||
Respond as {{character_name}} describing what you did and how you reacted. Write in first person past tense as if this
|
||||
just happened to you.
|
||||
|
||||
Examples of the response style:
|
||||
|
||||
- "I looked up from my book and smiled nervously..."
|
||||
- "I felt my heart race and took a deep breath before I said..."
|
||||
- "I hesitated for a moment, then decided to..."
|
||||
|
||||
Stay completely in character and be specific about your actions, thoughts, and words.
|
||||
37
living_agents/prompts/score_importance_with_context.md
Normal file
37
living_agents/prompts/score_importance_with_context.md
Normal file
@@ -0,0 +1,37 @@
|
||||
{{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.
|
||||
25
living_agents/prompts/score_memory_importance.md
Normal file
25
living_agents/prompts/score_memory_importance.md
Normal file
@@ -0,0 +1,25 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user