mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-20 18:48:08 +00:00
ingest_helper.py > debug/log file path instead of file name
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user