Remove unused text_chunks_db param from naive_query
Browse files- lightrag/lightrag.py +0 -1
- lightrag/operate.py +0 -1
lightrag/lightrag.py
CHANGED
@@ -1456,7 +1456,6 @@ class LightRAG:
|
|
1456 |
response = await naive_query(
|
1457 |
query.strip(),
|
1458 |
self.chunks_vdb,
|
1459 |
-
self.text_chunks,
|
1460 |
param,
|
1461 |
global_config,
|
1462 |
hashing_kv=self.llm_response_cache,
|
|
|
1456 |
response = await naive_query(
|
1457 |
query.strip(),
|
1458 |
self.chunks_vdb,
|
|
|
1459 |
param,
|
1460 |
global_config,
|
1461 |
hashing_kv=self.llm_response_cache,
|
lightrag/operate.py
CHANGED
@@ -1861,7 +1861,6 @@ async def _find_related_text_unit_from_relationships(
|
|
1861 |
async def naive_query(
|
1862 |
query: str,
|
1863 |
chunks_vdb: BaseVectorStorage,
|
1864 |
-
text_chunks_db: BaseKVStorage,
|
1865 |
query_param: QueryParam,
|
1866 |
global_config: dict[str, str],
|
1867 |
hashing_kv: BaseKVStorage | None = None,
|
|
|
1861 |
async def naive_query(
|
1862 |
query: str,
|
1863 |
chunks_vdb: BaseVectorStorage,
|
|
|
1864 |
query_param: QueryParam,
|
1865 |
global_config: dict[str, str],
|
1866 |
hashing_kv: BaseKVStorage | None = None,
|