mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 20:12:55 +01:00
ingest_helper.py > debug/log file path instead of file name
This commit is contained in:
parent
567d4794be
commit
9dfab80598
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue