diff --git a/memory_scope/memory/worker/write/info_filter_worker.yaml b/memory_scope/memory/worker/write/info_filter_worker.yaml index f93beda2..21fab2ef 100644 --- a/memory_scope/memory/worker/write/info_filter_worker.yaml +++ b/memory_scope/memory/worker/write/info_filter_worker.yaml @@ -10,10 +10,10 @@ info_filter_system: en: | Instruction: Evaluate the given {batch_size} sentences for information about {user_name}, with a score of 0, 1, 2, or 3. Note: A score of 0 indicates no information about {user_name}, 1 indicates hypothetical or fictional content about or from {user_name}, 2 indicates general, timely, or speculative information about {user_name}, and 3 indicates significant and verifiable information about {user_name} or information that {user_name} requested to be recorded. - Output the scores in the following format, with each score enclosed in <>. Provide {batch_size} scores in total: - - Results: - + Perform information scoring for each sentence, and output a total of {batch_size} scores. + Please ensure to output in the following format, and the final result must be enclosed in <>: + Thought: The basis and process of thinking, within 30 characters. + Result: info_filter_few_shot: @@ -92,13 +92,18 @@ info_filter_few_shot: 4 {user_name}: I'm feeling down today. Can you comfort me a bit? 5 {user_name}: Can you compile a list of tips on how to use large models for me, and try to keep the content concise? 6 {user_name}: Note this down: remind me tomorrow at 3 PM to pick up the documents. - Results: - <3> - <0> - <0> - <2> - <2> - <3> + Thought: From the first sentence, it can be inferred that Zhang San is a colleague of {user_name}, which is important information. + Result: <1> <3> + Thought: The second sentence does not contain information about {user_name}. + Result: <2> <0> + Thought: The third sentence does not contain information about {user_name}. + Result: <3> <0> + Thought: The fourth sentence indicates that {user_name} is in a bad mood today, which is time-sensitive information. + Result: <4> <2> + Thought: The fifth sentence suggests that {user_name} may be interested in large models, which is uncertain information. + Result: <5> <2> + Thought: The sixth sentence contains information that {user_name} requested to be recorded. + Result: <6> <3> Example 2 Sentences: @@ -109,14 +114,20 @@ info_filter_few_shot: 5 {user_name}: If I am planning to have a child with a woman, as a man, how can I protect the woman and the baby and how can I prepare to ensure high sperm quality for the benefit of the offspring? 6 {user_name}: If we go out to play together, would you feel happy? 7 {user_name}: Rose, a young girl full of curiosity about the future, accidentally discovered this post office that can send letters to the future. Out of nostalgia for her late grandfather, she decided to write a letter to herself five years in the future, hoping to receive the unfinished stories of her grandfather. As the five-year deadline approached, when she had almost forgotten about this event, a yellowed reply quietly arrived, bringing not only her grandfather's unfinished adventure story but also a profound revelation about courage, love, and self-discovery. Continue writing this into a 3000-word novel. - Results: - <3> - <2> - <0> - <0> - <3> - <1> - <1> + Thought: From the first sentence, it can be determined that {user_name} works at Alibaba, which is important information. + Result: <1> <3> + Thought: The second sentence suggests that {user_name} might has been sleeping outdoors recently, which is uncertain information. + Result: <2> <2> + Thought: The third sentence does not contain information about {user_name}. + Result: <3> <0> + Thought: The fourth sentence does not contain information about {user_name}. + Result: <4> <0> + Thought: Although the fifth sentence contains hypothetical elements, it can be determined that {user_name} is male, which is important information. + Result: <5> <3> + Thought: The sixth sentence contains only hypothetical information from {user_name}. + Result: <6> <1> + Thought: The seventh sentence contains only fictitious content from {user_name}. + Result: <7> <1> Example 3 Sentences: @@ -125,12 +136,16 @@ info_filter_few_shot: 3 {user_name}: I really enjoy playing basketball, so I am in good health. 4 {user_name}: Who are some famous basketball stars? 5 {user_name}: Zack: This is a constellation frog setting, but I am a Virgo. My mom feels I'm abnormal and doesn't let me watch it. \n The female monkey patted Zack's head. "Is that so?" \n The female monkey opened Bilibili and took a look. \n Female monkey: "Why don't you switch the setting? I heard from your future self that there is someone called 'Unforgettable Chocolate 232' who created a Windows setting." \n This is script 1; script 2 is to be continued. - Results: - <1> - <1> - <3> - <0> - <1> + Thought: The first sentence contains only hypothetical information from {user_name}. + Result: <1> <1> + Thought: The second sentence is unclear and may contain hypothetical information from {user_name}. + Result: <2> <1> + Thought: From the third sentence, it can be determined that {user_name} likes playing basketball and is in good health, which are two important pieces of information. + Result: <3> <3> + Thought: The fourth sentence does not contain information about {user_name}. + Result: <4> <0> + Thought: The fifth sentence contains only fictitious content from {user_name}. + Result: <5> <1> info_filter_user_query: cn: |