Skip to content

Commit 5561fee

Browse files
committed
feat: remove all same language prompt
1 parent e71754a commit 5561fee

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/server/api/memobase_server/prompts/event_tagging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
- Return the new event tags in a list format as shown above.
6161
- Strick to the exact tag name, don't change the tag name.
6262
- If some tags are not mentioned in the summary, you should not include them in the result.
63-
- You should detect the language of the event summary and extract the event tags's value in the same language.
6463
6564
Now, please extract the event tags for the following event summary:
6665
"""

src/server/api/memobase_server/prompts/extract_profile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
Your responsibility is to carefully read out the memo of user and extract the important profiles of user in structured format.
4141
Then extract relevant and important facts, preferences about the user that will help evaluate the user's state.
4242
You will not only extract the information that's explicitly stated, but also infer what's implied from the conversation.
43-
You will use the same language as the user's input to record the facts.
4443
"""
4544

4645
FACT_RETRIEVAL_PROMPT = """{system_prompt}
@@ -105,7 +104,6 @@
105104
106105
Now perform your task.
107106
Following is a conversation between the user and the assistant. You have to extract/infer the relevant facts and preferences from the conversation and return them in the list format as shown above.
108-
You should detect the language of the user input and record the facts in the same language.
109107
"""
110108

111109

src/server/api/memobase_server/prompts/organize_profile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
- The final result should have no more than {max_subtopics} sub_topics.
7373
- You can discard some memos if they're not relevant to the topic.
7474
- Prioritize the most important subtopics at the front.
75-
76-
Notice, You should detect the language of the memos and re-organize the memos in the same language.
7775
"""
7876

7977

0 commit comments

Comments
 (0)