Open GingerMoon opened 2 weeks ago
I was using ollama "qwen2.5:14b" and get the above result (array containing two elements: entities and relations.). When I try another bigger model, the extracted_entities contains relations as below: {'destination_node': '李四', 'destination_type': 'person', 'relation': 'HAS_CHILD', 'source_node': 'wx', 'source_type': 'person'}
Description
graph memory update_memory_prompt only contains entites, does't contain relations. Hence the function call results (memory_updates) returns NOOP.
before fix:
after fix:
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.
Checklist:
Maintainer Checklist