docs(memory): update personal memory retriever and summarizer documentation

This commit is contained in:
jinli.yl 2026-01-31 11:23:03 +08:00
parent b5fe827a36
commit 93861942ca
2 changed files with 19 additions and 2 deletions

View file

@ -14,6 +14,23 @@ class PersonalV1Retriever(BaseMemoryAgent):
--reme_model_name qwen3-30b-a3b-instruct-2507 \
--algo_version v1 \
--enable_thinking_params
📊 Question Answering (with LLM answer):
Correct (all): 0.8537
Hallucination (all): 0.1159
Omission (all): 0.0305
Correct (valid): 0.8537
Hallucination (valid): 0.1159
Omission (valid): 0.0305
Valid/Total: 164/164
📊 Question Answering (with original memories):
Correct (all): 0.9085
Hallucination (all): 0.0671
Omission (all): 0.0244
Correct (valid): 0.9085
Hallucination (valid): 0.0671
Omission (valid): 0.0244
Valid/Total: 164/164
"""
memory_type: MemoryType = MemoryType.PERSONAL

View file

@ -12,7 +12,7 @@ user_message_s1: |
* `message_time`: timestamp from the conversation (e.g., '2020-01-01 00:00:00')
* `memory_content`: concise memory content extracted from the conversation
- Use actual names from the conversation (e.g., "Bob likes apples") instead of generic references (e.g., "user likes apples")
- Extract only what's explicitly stated—no inferences, assumptions, or fabrications
- Extract all important information comprehensively—do not miss critical details, but avoid any fabrications or unfounded assumptions
- The tool will retrieve similar historical memories via vector search to help you in Step 2
### Step 2: Update and Add Memories
@ -75,5 +75,5 @@ user_message_s2: |
**General Guidelines:**
- Use actual names from the conversation (e.g., "Bob") instead of generic references (e.g., "user")
- Extract only what's explicitly stated—no inferences, assumptions, or fabrications
- Extract all important information comprehensively—do not miss critical details, but avoid any fabrications or unfounded assumptions
- You can update and add profiles in a single tool call