ReMe/test/cookbook/simple_demo/personal_memory.jsonl
jinliyl d0c9d89092
feat(memory): add ContextChecker component for context size management (#144)
* feat(memory): add ContextChecker component for context size management

* refactor(memory): restructure file-based memory tools and update imports

* docs(readme): update documentation with detailed architecture and components

* docs(readme): update Chinese documentation with enhanced memory management diagrams

* refactor(cookbook): move cookbook files to test directory and clean up docs

* docs(readme): update link path for old version documentation

* docs(readme): update documentation with improved architecture diagrams and component details

* docs(readme): update documentation with improved clarity and structure

* refactor(docs): update in-memory memory documentation

* docs(readme): add experiment reproduction link to quickstart guide
2026-03-06 23:43:42 +08:00

123 lines
No EOL
4.8 KiB
JSON

{
"answer": "",
"messages": [],
"success": true,
"metadata": {
"memory_list": [
{
"workspace_id": "personal_memory_demo",
"memory_id": "45b3d01c803a41fab029568ec289a82d",
"memory_type": "personal",
"when_to_use": "John Smith, 28, San Francisco, tech company",
"content": "user's name is John Smith, aged 28, works at a tech company in San Francisco",
"score": 0.0,
"time_created": "2025-09-06 23:44:34",
"time_modified": "2025-09-06 23:44:34",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "John Smith, 28, San Francisco, tech company",
"source_message": "My name is John Smith, I'm 28 years old, and I work at a tech company in San Francisco",
"observation_type": "personal_info"
},
"target": "user",
"reflection_subject": ""
},
{
"workspace_id": "personal_memory_demo",
"memory_id": "0918a87e11344b8981ee8588e2729d22",
"memory_type": "personal",
"when_to_use": "software engineer, backend, Python, Go",
"content": "user is a software engineer specializing in backend development using Python and Go",
"score": 0.0,
"time_created": "2025-09-06 23:44:34",
"time_modified": "2025-09-06 23:44:34",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "software engineer, backend, Python, Go",
"source_message": "I'm a software engineer, mainly doing backend development using Python and Go",
"observation_type": "personal_info"
},
"target": "user",
"reflection_subject": ""
},
{
"workspace_id": "personal_memory_demo",
"memory_id": "073ed894a05e43d5badb0fdc04401368",
"memory_type": "personal",
"when_to_use": "basketball, sci-fi movies, Dune Part 2",
"content": "user enjoys playing basketball and watching sci-fi movies, recently watched Dune Part 2",
"score": 0.0,
"time_created": "2025-09-06 23:44:34",
"time_modified": "2025-09-06 23:44:34",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "basketball, sci-fi movies, Dune Part 2",
"source_message": "I enjoy playing basketball and watching sci-fi movies. I recently watched Dune Part 2",
"observation_type": "personal_info"
},
"target": "user",
"reflection_subject": ""
},
{
"workspace_id": "personal_memory_demo",
"memory_id": "1c81c798bd5843debcf1e4b0dd393dc4",
"memory_type": "personal",
"when_to_use": "cat, Shadow, pet",
"content": "user has a 3-year-old cat named Shadow",
"score": 0.0,
"time_created": "2025-09-06 23:44:34",
"time_modified": "2025-09-06 23:44:34",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "cat, Shadow, pet",
"source_message": "I have a cat named Shadow who is 3 years old",
"observation_type": "personal_info"
},
"target": "user",
"reflection_subject": ""
},
{
"workspace_id": "personal_memory_demo",
"memory_id": "1c35f20456d847428653ddb24c03f61f",
"memory_type": "personal",
"when_to_use": "Japanese cuisine, sushi, ramen",
"content": "user is interested in Japanese cuisine, especially sushi and ramen",
"score": 0.0,
"time_created": "2025-09-06 23:44:34",
"time_modified": "2025-09-06 23:44:34",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "Japanese cuisine, sushi, ramen",
"source_message": "I'm really interested in Japanese cuisine, especially sushi and ramen",
"observation_type": "personal_info"
},
"target": "user",
"reflection_subject": ""
},
{
"workspace_id": "personal_memory_demo",
"memory_id": "7bb563c1e03f4c41a52000de7deb007e",
"memory_type": "personal",
"when_to_use": "Japan, Tokyo, Kyoto, travel plan",
"content": "user is planning a trip to Tokyo and Kyoto, Japan in October 2025",
"score": 0.0,
"time_created": "2025-09-06 23:44:31",
"time_modified": "2025-09-06 23:44:31",
"author": "qwen3-30b-a3b-instruct-2507",
"metadata": {
"keywords": "Japan, Tokyo, Kyoto, travel plan",
"time_info": "October 2025",
"source_message": "I'm planning a trip to Japan next month, mainly to Tokyo and Kyoto",
"observation_type": "personal_info_with_time"
},
"target": "user",
"reflection_subject": ""
}
],
"deleted_memory_ids": [],
"update_result": {
"deleted_count": 0,
"inserted_count": 6
}
}
}