mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-20 00:48:52 +00:00
fix: 实体默认类型Concept而非NULL,星图回退时间戳,entity_types改为dict格式
This commit is contained in:
@ -103,16 +103,18 @@ MEMORY_TOOLS = [
|
||||
"subject": {"type": "string"},
|
||||
"relation": {"type": "string"},
|
||||
"object": {"type": "string"},
|
||||
"confidence": {"type": "number"}
|
||||
"confidence": {"type": "number"},
|
||||
"subject_type": {"type": "string", "description": "主体的实体类型,如 Person、Project"},
|
||||
"object_type": {"type": "string", "description": "客体的实体类型,如 Language、Technology"}
|
||||
},
|
||||
"required": ["subject", "relation", "object"]
|
||||
},
|
||||
"description": "三元组列表"
|
||||
},
|
||||
"entity_types": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"description": "实体类型(可选)"
|
||||
"type": "object",
|
||||
"additionalProperties": {"type": "string"},
|
||||
"description": "实体类型字典,如 {\"用户\": \"Person\", \"项目A\": \"Project\"}(可选)"
|
||||
},
|
||||
"temporal_tag": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user