jin
commited on
Commit
·
0923c61
1
Parent(s):
7cf01b2
fix formate
Browse files- examples/lightrag_oracle_demo.py +1 -1
- lightrag/operate.py +1 -1
examples/lightrag_oracle_demo.py
CHANGED
@@ -97,7 +97,7 @@ async def main():
|
|
97 |
),
|
98 |
graph_storage="OracleGraphStorage",
|
99 |
kv_storage="OracleKVStorage",
|
100 |
-
vector_storage="OracleVectorDBStorage"
|
101 |
)
|
102 |
|
103 |
# Setthe KV/vector/graph storage's `db` property, so all operation will use same connection pool
|
|
|
97 |
),
|
98 |
graph_storage="OracleGraphStorage",
|
99 |
kv_storage="OracleKVStorage",
|
100 |
+
vector_storage="OracleVectorDBStorage",
|
101 |
)
|
102 |
|
103 |
# Setthe KV/vector/graph storage's `db` property, so all operation will use same connection pool
|
lightrag/operate.py
CHANGED
@@ -613,7 +613,7 @@ async def _get_node_data(
|
|
613 |
for k, n, d in zip(results, node_datas, node_degrees)
|
614 |
if n is not None
|
615 |
] # what is this text_chunks_db doing. dont remember it in airvx. check the diagram.
|
616 |
-
# get entitytext chunk
|
617 |
use_text_units = await _find_most_related_text_unit_from_entities(
|
618 |
node_datas, query_param, text_chunks_db, knowledge_graph_inst
|
619 |
)
|
|
|
613 |
for k, n, d in zip(results, node_datas, node_degrees)
|
614 |
if n is not None
|
615 |
] # what is this text_chunks_db doing. dont remember it in airvx. check the diagram.
|
616 |
+
# get entitytext chunk
|
617 |
use_text_units = await _find_most_related_text_unit_from_entities(
|
618 |
node_datas, query_param, text_chunks_db, knowledge_graph_inst
|
619 |
)
|