graphiti/tests
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
..
cross_encoder Remove integration markers from database tests (#1000) 2025-10-12 10:16:34 -07:00
driver Remove integration markers from database tests (#1000) 2025-10-12 10:16:34 -07:00
embedder save edge update (#721) 2025-07-14 11:15:38 -04:00
evals add_episode() refactor (#421) 2025-04-30 12:08:52 -04:00
llm_client fix: replace deprecated gemini-2.5-flash-lite-preview with gemini-2.5-flash-lite (#1076) 2025-11-20 16:03:51 -08:00
utils Improve semantic equivalence detection in edge deduplication 2025-12-09 19:01:05 -06:00
helpers_test.py Add support for Kuzu as the graph driver (#799) 2025-08-27 11:45:21 -04:00
test_edge_int.py Remove integration markers from database tests (#1000) 2025-10-12 10:16:34 -07:00
test_entity_exclusion_int.py Add support for Kuzu as the graph driver (#799) 2025-08-27 11:45:21 -04:00
test_graphiti_int.py Add support for Kuzu as the graph driver (#799) 2025-08-27 11:45:21 -04:00
test_graphiti_mock.py Enable FalkorDB fulltext search tests (#1050) 2025-11-05 10:32:10 -08:00
test_node_int.py Remove integration markers from database tests (#1000) 2025-10-12 10:16:34 -07:00
test_text_utils.py update summary character limit (#1073) 2025-11-18 17:16:02 -05:00