File size: 467 Bytes
239d4ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class VitalisTalker:
    def __init__(self, tier="basic"):
        self.tier = tier

    def speak(self, response):
        prefix = {
            "kids": "[VITALIS]: ",
            "basic": "[VITALIS]: ",
            "enthusiast": "[VITALIS/DEV]: ",
            "professional": "[VITALIS/ARCHITECT]: ",
            "school": "[VITALIS/EDU]: "
        }.get(self.tier, "[VITALIS]: ")
        output = f"{prefix}{response}"
        print(output)
        return output