prisma-chatbot / src /config.py
RolandM's picture
UI polish pass: dark theme, embedded figure, bar-cell impressions, trajectory plot
fbc2805
"""Configuration: settings, constants, and rate limits.
Centralizes tunable values (model id, decoding parameters, per-session
turn cap, evaluation attributes) so they can be adjusted without touching
the inference or prompt logic.
Implementation pending — scaffolding only.
"""
MIN_SCORE: int = 1
MAX_SCORE: int = 7
SESSION_TURN_CAP: int = 12
MODEL_ID: str = "meta-llama/Llama-3.3-70B-Instruct"
DEFAULT_TEMPERATURE: float = 0.7
DEFAULT_MAX_TOKENS: int = 1200
DEFAULT_ATTRIBUTES: list[str] = [
"competent",
"likeable",
"considerate",
"polite",
"formal",
"demanding",
]
# Color mapping for UI rendering (matches the PRISMA prism figure).
ATTRIBUTE_COLORS: dict[str, str] = {
"competent": "#a855f7", # purple
"likeable": "#f97316", # orange
"considerate": "#22c55e", # green
"polite": "#eab308", # yellow
"formal": "#3b82f6", # blue
"demanding": "#e11d48", # red
}