Improved cashing check
This commit is contained in:
@@ -1150,7 +1150,7 @@ class LightRAG:
|
||||
"""
|
||||
if param.mode in ["local", "global", "hybrid"]:
|
||||
response = await kg_query(
|
||||
query,
|
||||
query.strip(),
|
||||
self.chunk_entity_relation_graph,
|
||||
self.entities_vdb,
|
||||
self.relationships_vdb,
|
||||
@@ -1171,7 +1171,7 @@ class LightRAG:
|
||||
)
|
||||
elif param.mode == "naive":
|
||||
response = await naive_query(
|
||||
query,
|
||||
query.strip(),
|
||||
self.chunks_vdb,
|
||||
self.text_chunks,
|
||||
param,
|
||||
@@ -1190,7 +1190,7 @@ class LightRAG:
|
||||
)
|
||||
elif param.mode == "mix":
|
||||
response = await mix_kg_vector_query(
|
||||
query,
|
||||
query.strip(),
|
||||
self.chunk_entity_relation_graph,
|
||||
self.entities_vdb,
|
||||
self.relationships_vdb,
|
||||
|
Reference in New Issue
Block a user