Merge pull request #978 from MdNazishArmanShorthillsAI/main

Improved caching check
This commit is contained in:
Yannick Stephan 2025-03-03 23:29:55 +01:00 committed by GitHub
commit cf87c931d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1159,7 +1159,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,
@ -1180,7 +1180,7 @@ class LightRAG:
)
elif param.mode == "naive":
response = await naive_query(
query,
query.strip(),
self.chunks_vdb,
self.text_chunks,
param,
@ -1199,7 +1199,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,