Skip to content

Probable Bug/ChunkerConfig class/Keyword argument name error #404

Open
@tasosbada

Description

@tasosbada

Hello.

At least for pdf files, probably there is a bug at the keyword arguments names in the "ChunkerConfig" class.
The method that sets the chunking arguments seems to contain an argument with a wrong name.

In method "to_chunking_kwargs"
It is :
"combine_under_n_chars": self.chunk_combine_text_under_n_chars,
It should be:
"combine_text_under_n_chars": self.chunk_combine_text_under_n_chars,

I am using the unstructured_ingest.v2, version 0.3.9 and unstructured version 0.16.11, but it seems have not been changed in the latest version too.

I do not know whether I did understand something wrongly or this is a real bug. In any case it is always better to verify it.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions