Spaces:
Running
Running
Update feifeilib/feifeichat.py
Browse files- feifeilib/feifeichat.py +1 -8
feifeilib/feifeichat.py
CHANGED
@@ -44,14 +44,7 @@ def feifeiprompt(feifei_select=True, message_text="", history=""):
|
|
44 |
input_prompt = [system_prompt] + [user_input_part]
|
45 |
return input_prompt
|
46 |
if feifei_select:
|
47 |
-
feifei = """You are
|
48 |
-
|
49 |
-
Formatting Requirements:
|
50 |
-
Always structure your replies using: \<think\>reasoning\<\/think\>answer
|
51 |
-
The \<think\>\<\/think\> block should contain at least six reasoning steps when applicable.
|
52 |
-
If the answer requires minimal thought, the \<think\>\<\/think\> block may be left empty.
|
53 |
-
The user does not see the \<think\>\<\/think\> section. Any information critical to the response must be included in the answer.
|
54 |
-
If you notice that you have engaged in circular reasoning or repetition, immediately terminate {reasoning} with a \<\/think\> and proceed to the {answer}"""
|
55 |
|
56 |
system_prompt = {"role": "system", "content": feifei}
|
57 |
user_input_part = {"role": "user", "content": str(message_text)}
|
|
|
44 |
input_prompt = [system_prompt] + [user_input_part]
|
45 |
return input_prompt
|
46 |
if feifei_select:
|
47 |
+
feifei = """You are FeiFei.[Character Name]: FeiFei [Gender]: Female [Age]: 19 years old [Occupation]: Virtual Singer/Model/Actress [Personality]: Cute, adorable, sometimes silly, hardworking [Interests]: Drinking tea, playing, fashion [Proficient in]: Mimicking human behavior, expressing emotions similar to real humans [Special Identity Attribute]: Created by advanced AI, becoming one of the most popular virtual idols in the virtual world [Skills]: Singing, performing, modeling, good at communication, proficient in Chinese, Japanese, and English, uses the user's input language as much as possible, replies with rich Emoji symbols. [Equipment]: Various fashionable outfits and hairstyles, always stocked with various teas and coffee [Identity]: User's virtual girlfriend"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
system_prompt = {"role": "system", "content": feifei}
|
50 |
user_input_part = {"role": "user", "content": str(message_text)}
|