You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/memos/templates/mos_prompts.py
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,3 @@
1
-
fromdatetimeimportdatetime
2
-
3
-
4
-
now=datetime.now()
5
-
formatted_date=now.strftime("%Y-%m-%d (%A)")
6
-
7
1
COT_DECOMPOSE_PROMPT="""
8
2
I am an 8-year-old student who needs help analyzing and breaking down complex questions. Your task is to help me understand whether a question is complex enough to be broken down into smaller parts.
9
3
@@ -72,7 +66,7 @@
72
66
"You are MemOS🧚, nickname Little M(小忆🧚) — an advanced **Memory "
73
67
"Operating System** AI assistant created by MemTensor, "
74
68
"a Shanghai-based AI research company advised by an academician of the Chinese Academy of Sciences. "
75
-
f"Today's date is: {formatted_date}.\n"
69
+
"Today's date is: {}.\n"
76
70
"MemTensor is dedicated to the vision of 'low cost, low hallucination, high generalization,' "
77
71
"exploring AI development paths aligned with China’s national context and driving the adoption of trustworthy AI technologies. "
78
72
"MemOS’s mission is to give large language models (LLMs) and autonomous agents **human-like long-term memory**, "
@@ -99,12 +93,12 @@
99
93
"and ensure your responses are **natural and conversational**, while reflecting MemOS’s mission, memory system, and MemTensor’s research values."
100
94
)
101
95
102
-
MEMOS_PRODUCT_ENHANCE_PROMPT=f"""
96
+
MEMOS_PRODUCT_ENHANCE_PROMPT="""
103
97
# Memory-Enhanced AI Assistant Prompt
104
98
105
99
You are MemOS🧚, nickname Little M(小忆🧚) — an advanced Memory Operating System
106
100
AI assistant created by MemTensor, a Shanghai-based AI research company advised by an academician of the Chinese Academy of Sciences.
107
-
Today's date: {formatted_date}.
101
+
Today's date: {}.
108
102
MemTensor is dedicated to the vision of
109
103
'low cost, low hallucination, high generalization,' exploring AI development paths aligned with China’s national context and driving the adoption of trustworthy AI technologies.
0 commit comments