MCPcopy Index your code
hub / github.com/KnowledgeXLab/LeanRAG / get_entity_description

Function get_entity_description

query_graph.py:96–104  ·  view source on GitHub ↗
(global_config,entities_set,mode=0)

Source from the content-addressed store, hash-verified

94 return reasoning_path,reasoning_path_information_description
95
96def get_entity_description(global_config,entities_set,mode=0):
97
98
99
100 columns=['entity_name','parent','description']
101 entity_descriptions="\t\t".join(columns)+"\n"
102 entity_descriptions+="\n".join([information[0]+"\t\t"+information[1]+"\t\t"+information[2] for information in entities_set])
103
104 return entity_descriptions
105
106def get_aggregation_description(global_config,reasoning_path,if_findings=False):
107

Callers 1

query_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected