Remove unused text_chunks_db param from naive_query

This commit is contained in:
yangdx
2025-05-08 03:26:14 +08:00
parent 147f73002d
commit 08e532eaf3
2 changed files with 0 additions and 2 deletions

View File

@@ -1456,7 +1456,6 @@ class LightRAG:
response = await naive_query(
query.strip(),
self.chunks_vdb,
self.text_chunks,
param,
global_config,
hashing_kv=self.llm_response_cache,

View File

@@ -1861,7 +1861,6 @@ async def _find_related_text_unit_from_relationships(
async def naive_query(
query: str,
chunks_vdb: BaseVectorStorage,
text_chunks_db: BaseKVStorage,
query_param: QueryParam,
global_config: dict[str, str],
hashing_kv: BaseKVStorage | None = None,