Kansho/backend/interaction_defaults.py
2026-08-25 13:57:23 +02:00

33 lines
1.0 KiB
Python

"""Labeled product defaults for dialogue interaction. Not a personality model.
These are visible, overridable defaults — not silent personal facts inferred from
the mere fact that a dialogue happened.
"""
from __future__ import annotations
DEFAULTS = (
{
"scope": "global",
"pref_key": "reply_length",
"title": "Antwortlänge",
"value": "Ein bis drei Sätze.",
},
{
"scope": "global",
"pref_key": "follow_up",
"title": "Anschlussimpuls",
"value": "Nur einen dominanten Anschlussimpuls setzen, nicht mehrere Fragen stapeln.",
},
{
"scope": "autobiographical",
"pref_key": "listening",
"title": "Zuhören bei Erzählung",
"value": "Bei längeren autobiografischen Erzählungen zunächst stärker zuhören und wenig unterbrechen.",
},
)
SCOPES = ("global", "autobiographical")
PREF_KEYS = tuple(item["pref_key"] for item in DEFAULTS)
GOVERNANCE = {"learning", "advising", "frozen"}
DEFAULT_GOVERNANCE = "advising"