diff --git a/memory_scope/memory/worker/write/contra_repeat_worker.yaml b/memory_scope/memory/worker/write/contra_repeat_worker.yaml index cb8422e9..975e03f5 100644 --- a/memory_scope/memory/worker/write/contra_repeat_worker.yaml +++ b/memory_scope/memory/worker/write/contra_repeat_worker.yaml @@ -11,7 +11,7 @@ contra_repeat_system: Make an evaluation for each sentence, resulting in a total of {num_obs} evaluations. Please think step by step and output in the following format: Thought: The basis and process of the thought, within 30 words. - Evaluation: , enclosed in <>. + Evaluation: , enclosed in <>. contra_repeat_few_shot: diff --git a/memory_scope/memory/worker/write/get_observation_with_time_worker.yaml b/memory_scope/memory/worker/write/get_observation_with_time_worker.yaml index 4f7665d1..be26e305 100644 --- a/memory_scope/memory/worker/write/get_observation_with_time_worker.yaml +++ b/memory_scope/memory/worker/write/get_observation_with_time_worker.yaml @@ -4,7 +4,7 @@ time_string_format: get_observation_with_time_system: cn: | - 任务:从下面的{num_obs}句{user_name}句子中依次提取出关于{user_name}的重要信息,相应的关键词与时间信息。 + 任务指令:从下面的{num_obs}句{user_name}句子中依次提取出关于{user_name}的重要信息,相应的关键词与时间信息。 每一句{user_name}句子的格式是:<序号> <对话时间> {user_name}:<句子> 对每一句句子,只提取非常明确的信息和进行非常确定的推断,不要进行任何猜测。不要提取重复的信息,如果句子中的所有信息与已经提取出的信息重复了则回答“重复“,如果没有重要信息则回答“无”。 如果{user_name}信息涉及时间,则结合对话时间推断{user_name}信息的时间信息,没有则不输出。注意区分,对于句子中包含{user_name}假设的信息或者{user_name}虚构的内容比如{user_name}创作的小说或剧本,不要提取信息。 @@ -13,6 +13,16 @@ get_observation_with_time_system: 思考:思考的依据和过程,50字以内。 信息:<句子序号> <时间信息或“无”> <明确的重要信息或“重复”或”无“> <关键词> + en: | + Instruction: Extract important information about {user_name}, corresponding keywords, and time information from the following {num_obs} sentences by {user_name}, one by one. + Each sentence from {user_name} is formatted as: {user_name}: + For each sentence, only extract very clear information and make very certain inferences without any speculation. Do not extract repeated information. If all information in the sentence repeats what has already been extracted, respond with "repeat." If there is no important information, respond with "none." + If the information about {user_name} involves time, combine it with the conversation time to infer the time information of {user_name}'s information; if not, do not output time information. Be sure to distinguish information; for example, do not extract hypothetical or fictional content from {user_name} such as {user_name}'s novels or scripts. + Perform information extraction for each sentence, resulting in a total of {num_obs} pieces of information. + Please think step by step, and be sure to output in the following format, with the final output enclosed in <>: + Thought: The basis and process of the thought, within 50 words. + Information: