From 5cfc74f27685729c5b901fc587d496a5ba5bf8ac Mon Sep 17 00:00:00 2001 From: Windpicker-owo <3431391539@qq.com> Date: Wed, 19 Nov 2025 19:24:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=9B=BF=E6=8D=A2=E7=9F=AD=E6=9C=9F?= =?UTF-8?q?=E8=AE=B0=E5=BF=86=E6=9E=84=E5=BB=BA=E5=92=8C=E5=86=B3=E7=AD=96?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=EF=BC=8C=E8=B0=83=E6=95=B4=E9=95=BF=E6=9C=9F?= =?UTF-8?q?=E8=AE=B0=E5=BF=86=E6=9E=84=E5=BB=BA=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/memory_graph/short_term_manager.py | 4 +++- template/model_config_template.toml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/memory_graph/short_term_manager.py b/src/memory_graph/short_term_manager.py index 673e71b41..8ed6f19e6 100644 --- a/src/memory_graph/short_term_manager.py +++ b/src/memory_graph/short_term_manager.py @@ -187,7 +187,9 @@ class ShortTermMemoryManager: "importance": 0.7, "attributes": {{ "time": "时间信息", - "location": "地点信息" + "attribute1": "其他属性1" + "attribute2": "其他属性2" + ... }} }} ``` diff --git a/template/model_config_template.toml b/template/model_config_template.toml index 18c4baef6..059cce89d 100644 --- a/template/model_config_template.toml +++ b/template/model_config_template.toml @@ -218,21 +218,21 @@ max_tokens = 800 #------------记忆系统专用模型------------ [model_task_config.memory_short_term_builder] # 短期记忆构建模型(感知→短期格式化) -model_list = ["siliconflow-deepseek-ai/DeepSeek-V3.2-Exp"] +model_list = ["siliconflow-Qwen/Qwen3-Next-80B-A3B-Instruct"] temperature = 0.2 max_tokens = 800 [model_task_config.memory_short_term_decider] # 短期记忆决策模型(决定合并/更新/新建/丢弃) -model_list = ["siliconflow-deepseek-ai/DeepSeek-V3.2-Exp"] +model_list = ["siliconflow-Qwen/Qwen3-Next-80B-A3B-Instruct"] temperature = 0.2 max_tokens = 1000 [model_task_config.memory_long_term_builder] # 长期记忆构建模型(短期→长期图结构) -model_list = ["siliconflow-Qwen/Qwen3-Next-80B-A3B-Instruct"] +model_list = ["siliconflow-deepseek-ai/DeepSeek-V3.2-Exp"] temperature = 0.2 max_tokens = 1500 [model_task_config.memory_judge] # 记忆检索裁判模型(判断检索是否充足) -model_list = ["siliconflow-THUDM/GLM-4-9B-0414"] +model_list = ["qwen3-14b"] temperature = 0.1 max_tokens = 600