Update operate.py
Browse files- lightrag/operate.py +2 -2
lightrag/operate.py
CHANGED
@@ -523,7 +523,7 @@ async def _build_local_query_context(
|
|
523 |
|
524 |
text_units_section_list = [["id", "content"]]
|
525 |
for i, t in enumerate(use_text_units):
|
526 |
-
text_units_section_list.append([i, t["content"]
|
527 |
text_units_context = list_of_list_to_csv(text_units_section_list)
|
528 |
return f"""
|
529 |
-----Entities-----
|
@@ -788,7 +788,7 @@ async def _build_global_query_context(
|
|
788 |
|
789 |
text_units_section_list = [["id", "content"]]
|
790 |
for i, t in enumerate(use_text_units):
|
791 |
-
text_units_section_list.append([i, t["content"]
|
792 |
text_units_context = list_of_list_to_csv(text_units_section_list)
|
793 |
|
794 |
return f"""
|
|
|
523 |
|
524 |
text_units_section_list = [["id", "content"]]
|
525 |
for i, t in enumerate(use_text_units):
|
526 |
+
text_units_section_list.append([i, t["content"]])
|
527 |
text_units_context = list_of_list_to_csv(text_units_section_list)
|
528 |
return f"""
|
529 |
-----Entities-----
|
|
|
788 |
|
789 |
text_units_section_list = [["id", "content"]]
|
790 |
for i, t in enumerate(use_text_units):
|
791 |
+
text_units_section_list.append([i, t["content"]])
|
792 |
text_units_context = list_of_list_to_csv(text_units_section_list)
|
793 |
|
794 |
return f"""
|