File size: 1,184 Bytes
ed6bec6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# templates_behavior.py
def generate_behavior_samples(dictionaries, count=50, source_language="en"):
samples = []
behaviors = [
("warm", "steady", "medium", "natural", "high"),
("neutral", "slow", "shallow", "formal", "medium"),
("direct", "fast", "deep", "technical", "high"),
("friendly", "steady", "medium", "casual", "high"),
("precise", "slow", "deep", "structured", "high")
]
for i in range(count):
tone, pacing, depth, style, clarity = behaviors[i % len(behaviors)]
user_text = "Explain this to me."
glyphic = f"BEHAVIOR(tone={tone}, pacing={pacing}, depth={depth})"
realized = f"I will explain this in a {tone} and {clarity} way."
samples.append({
"input": user_text,
"glyphic": glyphic,
"output": realized,
"behavior": {
"tone": tone,
"pacing": pacing,
"depth": depth,
"style": style,
"clarity": clarity
},
"emotion": "neutral",
"sensory": "none",
"social": "alone"
})
return samples
|