-
Unstructured v0.12.6 release (#2626)
发布于
2024-03-08 17:54:13 +00:00 0.12.6
Enhancements
- Improve ability to capture embedded links in
partition_pdf()for
faststrategy Previously, a threshold value that affects the capture
of embedded links was set to a fixed value by default. This allows users
to specify the threshold value for better capturing. - Refactor
add_chunking_strategydecorator to dispatch by name.
Addchunk()function to be used by theadd_chunking_strategy
decorator to dispatch chunking call based on a chunking-strategy name
(that can be dynamic at runtime). This decouples chunking dispatch from
only those chunkers known at "compile" time and enables runtime
registration of custom chunkers.
Features
- Added Unstructured Platform Documentation The Unstructured
Platform is currently in beta. The documentation provides how-to guides
for setting up workflow automation, job scheduling, and configuring
source and destination connectors.
Fixes
- Partitioning raises on file-like object with
.namenot a local
file path. When partitioning a file using thefile=argument, and
fileis a file-like object (e.g. io.BytesIO) having a.name
attribute, and the value offile.nameis not a valid path to a file
present on the local filesystem,FileNotFoundErroris raised. This
prevents use of thefile.nameattribute for downstream purposes to,
for example, describe the source of a document retrieved from a network
location via HTTP. - Fix SharePoint dates with inconsistent formatting Adds logic to
conditionally support dates returned by office365 that may vary in date
formatting or may be a datetime rather than a string. - Include warnings about the potential risk of installing a version
ofpandocwhich does not support RTF files + instructions that will
help resolve that issue. - Incorporate the
install-pandocMakefile recipe into relevant
stages of CI workflow, ensuring it is a version that supports RTF input
files. - Fix Google Drive source key Allow passing string for source
connector key. - Fix table structure evaluations calculations Replaced special
value-1.0withnp.nanand corrected rows filtering of files metrics
basing on that. - Fix Sharepoint-with-permissions test Ignore permissions metadata,
update test. - Fix table structure evaluations for edge case Fixes the issue when
the prediction does not contain any table - no longer errors in such
case.
下载附件
- Improve ability to capture embedded links in