Merge pull request #978 from MdNazishArmanShorthillsAI/main
Improved caching check
This commit is contained in:
commit
cf87c931d4
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue