R2R
R2R copied to clipboard
Fix Create Graph
[!IMPORTANT] Enhance knowledge graph functionality by adding
entity_table_name
parameter to key functions and updating integration tests accordingly.
- Behavior:
- Add
entity_table_name
parameter toget_entities()
andget_entity_count()
inkg.py
,kg_service.py
, andpostgres.py
.- Default
entity_table_name
toentity_embedding
.- Tests:
- Update
test_kg_create_graph_sample_file_cli()
andtest_kg_create_graph_sample_file_sdk()
to check for at least one entity in the response.- Modify
test_kg_enrich_graph_sample_file_cli()
andtest_kg_enrich_graph_sample_file_sdk()
to validate community creation.- Misc:
- Fix minor issues in
runner_cli.py
andrunner_sdk.py
related to entity and community assertions.This description was created by
for 5b7397c02de81810b1d58ab6ee632ed384c5948d. It will automatically update as commits are pushed.