You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is, inside the partition_text method of unstructured the encoding is null, and even the errors parameter is not even passed into the place where the file is being opened.
I have attached the debugger from unstructured.partition.text.partition_text which indicates the encoding is none
Version
0.10.42
Steps to Reproduce
Set the encoding in the SimpleDirectoryReader and use UnstructuredReader as file_extractor, and you'll see that the encoding wouldn't even be used.
Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered:
Bug Description
I am reading some files from my local using this code:
The problem is, inside the
partition_text
method ofunstructured
theencoding
is null, and even theerrors
parameter is not even passed into the place where the file is being opened.I have attached the debugger from
unstructured.partition.text.partition_text
which indicates the encoding isnone
Version
0.10.42
Steps to Reproduce
Set the
encoding
in theSimpleDirectoryReader
and useUnstructuredReader
as file_extractor, and you'll see that the encoding wouldn't even be used.Relevant Logs/Tracbacks
No response
The text was updated successfully, but these errors were encountered: