File size: 831 Bytes
0fcfe1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
"""Intervention strategies for BLUX-cA."""

from __future__ import annotations

from typing import Dict


def mirror(message: str) -> Dict[str, str]:
    return {"strategy": "mirror", "response": f"I hear that {message}"}


def light_shift(message: str) -> Dict[str, str]:
    return {"strategy": "light_shift", "response": f"What if we reframed: {message}"}


def compassionate_edge(boundary: str) -> Dict[str, str]:
    return {
        "strategy": "compassionate_edge",
        "response": f"I care about you, so I must set this boundary: {boundary}",
    }


def layered_truth(statement: str) -> Dict[str, str]:
    return {
        "strategy": "layered_truth",
        "response": f"Here is the layered truth: {statement}",
    }


__all__ = [
    "mirror",
    "light_shift",
    "compassionate_edge",
    "layered_truth",
]