Spaces:
Sleeping
Sleeping
class Skill: | |
def __init__(self:object) -> None: | |
pass | |
def set_tokenizer(self:object, tokenizer:object): | |
self.tokenizer = tokenizer | |
def process(self:object, input_txt:str, history_list:list, role_card:dict): | |
output_txt:str = None | |
if input_txt.upper()=="ERASE MEMORY": | |
history_list = [] | |
output_txt = "我是谁?我在哪?我在干什么?" | |
return output_txt, history_list, role_card | |