feat(user_profile_tool): 更新好感分数描述,增加评分注意事项以提升用户理解
This commit is contained in:
@@ -45,6 +45,7 @@ class CreateMemoryTool(BaseTool):
|
||||
- 单纯招呼语:"你好"、"再见"、"谢谢"
|
||||
- 无意义语气词:"哦"、"嗯"、"好的"
|
||||
- 纯粹回复确认:没有信息量的回应
|
||||
- 不要记录人设中的信息!只记录聊天记录中的信息!!
|
||||
|
||||
## 记忆拆分原则
|
||||
一句话多个信息点 → 多次调用创建多条记忆
|
||||
|
||||
@@ -1213,7 +1213,7 @@ class MemoryTools:
|
||||
similar_nodes = await self.vector_store.search_with_multiple_queries(
|
||||
query_embeddings=query_embeddings,
|
||||
query_weights=query_weights,
|
||||
limit=top_k * 5, # 🔥 从2倍提升到5倍,提高初始召回率
|
||||
limit=top_k * 2,
|
||||
fusion_strategy="weighted_max",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user