mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-01 23:47:54 +00:00
ingest_helper.py > debug/log file path instead of file name
This commit is contained in:
parent
567d4794be
commit
9dfab80598
@ -79,7 +79,7 @@ class IngestionHelper:
|
||||
|
||||
@staticmethod
|
||||
def _load_file_to_documents(file_name: str, file_data: Path) -> list[Document]:
|
||||
logger.debug("Transforming file_name=%s into documents", file_name)
|
||||
logger.debug("Transforming file=%s into documents", str(file_data))
|
||||
extension = Path(file_name).suffix
|
||||
reader_cls = FILE_READER_CLS.get(extension)
|
||||
if reader_cls is None:
|
||||
|
Loading…
Reference in New Issue
Block a user