graphiti/tests/utils/maintenance
Nate Shumway 0f10fb6bdd Improve semantic equivalence detection in edge deduplication
Enhanced the edge deduplication prompts to better recognize semantically
equivalent facts that use different phrasings:

- Self-referential relationships ("X is a sub-agency of X" = "X is its own sub-agency")
- Active vs passive voice ("A awarded contract to B" = "B received contract from A")
- Numeric format equivalence ($1M = $1,000,000)
- Entity aliases (DoD = Department of Defense)

Added integration tests that verify the LLM correctly identifies semantic
duplicates with the improved prompts.
2025-12-09 19:01:05 -06:00
..
test_bulk_utils.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
test_edge_operations.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
test_edge_operations_int.py Improve semantic equivalence detection in edge deduplication 2025-12-09 19:01:05 -06:00
test_node_operations.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
test_temporal_operations_int.py Separate unit, database, and API integration tests (#997) 2025-10-12 09:07:24 -07:00