diff --git a/backend/danswer/connectors/file/connector.py b/backend/danswer/connectors/file/connector.py index 2e6a9081d8..431b23f272 100644 --- a/backend/danswer/connectors/file/connector.py +++ b/backend/danswer/connectors/file/connector.py @@ -69,7 +69,7 @@ def _process_file( if is_text_file_extension(file_name): encoding = detect_encoding(file) - file_content_raw, file_metadata = read_text_file(file, encoding=encoding) + file_content_raw, file_metadata = read_text_file(file, encoding=encoding, ignore_danswer_metadata=False) # Using the PDF reader function directly to pass in password cleanly elif extension == ".pdf":