fix:修改了意愿

This commit is contained in:
SengokuCola
2025-03-28 00:18:36 +08:00
parent 6128a7f47d
commit ce254c73bc
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ class ChatBot:
# 根据话题计算激活度
topic = ""
interested_rate = await HippocampusManager.get_instance().get_activate_from_text(message.processed_plain_text)
interested_rate = await HippocampusManager.get_instance().get_activate_from_text(message.processed_plain_text)*20
# interested_rate = 0.1
logger.info(f"{message.processed_plain_text}的激活度:{interested_rate}")
# logger.info(f"\033[1;32m[主题识别]\033[0m 使用{global_config.topic_extract}主题: {topic}")

View File

@@ -84,7 +84,7 @@ class PromptBuilder:
max_memory_num=4,
max_memory_length=2,
max_depth=3,
fast_retrieval=False
fast_retrieval=True
)
memory_str = ""
for topic, memories in relevant_memories: