Remove unused text_chunks_db param from naive_query
This commit is contained in:
@@ -1456,7 +1456,6 @@ class LightRAG:
|
|||||||
response = await naive_query(
|
response = await naive_query(
|
||||||
query.strip(),
|
query.strip(),
|
||||||
self.chunks_vdb,
|
self.chunks_vdb,
|
||||||
self.text_chunks,
|
|
||||||
param,
|
param,
|
||||||
global_config,
|
global_config,
|
||||||
hashing_kv=self.llm_response_cache,
|
hashing_kv=self.llm_response_cache,
|
||||||
|
@@ -1861,7 +1861,6 @@ async def _find_related_text_unit_from_relationships(
|
|||||||
async def naive_query(
|
async def naive_query(
|
||||||
query: str,
|
query: str,
|
||||||
chunks_vdb: BaseVectorStorage,
|
chunks_vdb: BaseVectorStorage,
|
||||||
text_chunks_db: BaseKVStorage,
|
|
||||||
query_param: QueryParam,
|
query_param: QueryParam,
|
||||||
global_config: dict[str, str],
|
global_config: dict[str, str],
|
||||||
hashing_kv: BaseKVStorage | None = None,
|
hashing_kv: BaseKVStorage | None = None,
|
||||||
|
Reference in New Issue
Block a user