From 28bc45c8f59dbc2f4aca96ccd71f3fda5b02756e Mon Sep 17 00:00:00 2001 From: jin <52519003+jin38324@users.noreply.github.com> Date: Tue, 26 Nov 2024 10:21:39 +0800 Subject: [PATCH] fix formate --- examples/lightrag_oracle_demo.py | 2 +- lightrag/operate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/lightrag_oracle_demo.py b/examples/lightrag_oracle_demo.py index 02fb569d..2aa47c78 100644 --- a/examples/lightrag_oracle_demo.py +++ b/examples/lightrag_oracle_demo.py @@ -97,7 +97,7 @@ async def main(): ), graph_storage="OracleGraphStorage", kv_storage="OracleKVStorage", - vector_storage="OracleVectorDBStorage" + vector_storage="OracleVectorDBStorage", ) # Setthe KV/vector/graph storage's `db` property, so all operation will use same connection pool diff --git a/lightrag/operate.py b/lightrag/operate.py index 4265ebcb..c36af2f3 100644 --- a/lightrag/operate.py +++ b/lightrag/operate.py @@ -613,7 +613,7 @@ async def _get_node_data( for k, n, d in zip(results, node_datas, node_degrees) if n is not None ] # what is this text_chunks_db doing. dont remember it in airvx. check the diagram. - # get entitytext chunk + # get entitytext chunk use_text_units = await _find_most_related_text_unit_from_entities( node_datas, query_param, text_chunks_db, knowledge_graph_inst )