Update pipeline_enqueue_file to include file_paths parameter
This commit is contained in:
parent
4076b20582
commit
35df22cf08
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ async def pipeline_enqueue_file(rag: LightRAG, file_path: Path) -> bool:
|
|||
|
||||
# Insert into the RAG queue
|
||||
if content:
|
||||
await rag.apipeline_enqueue_documents(content)
|
||||
await rag.apipeline_enqueue_documents(content, file_paths=file_path.name)
|
||||
logger.info(f"Successfully fetched and enqueued file: {file_path.name}")
|
||||
return True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue