Skip to main content

chunk

Method
This is a method of the Chunking class in the chunking module.
Chunk text using the configured chunking strategy.

Signature

def chunk(text: Union[str, List[str]]) -> Union[List[Any], List[List[Any]]]

Parameters

text
Union
required
No description available.

Returns

Returns
Union[List[Any], List[List[Any]]]
The result of the operation.