UnstructuredIOChunker
UnstructuredIO
class to process and segment elements while maintaining
readability and coherence. The chunking method can be adjusted based on
the provided chunk_type
parameter.
Parameters:
- chunk_type (str, optional): The method used for chunking text. (default: :obj:
"chunk_by_title"
) - max_characters (int, optional): The maximum number of characters allowed per chunk. (default: :obj:
500
) - metadata_filename (Optional[str], optional): An optional filename for storing metadata related to chunking. (default: :obj:
None
)
init
chunk
- content (List[Element]): The content to be chunked.