Defines the contract that must be implemented for all text splitting strategies.
Summary
Callbacks
@callback split(text :: binary(), opts :: [keyword()]) :: [TextChunker.Chunk.t()]
Defines the contract that must be implemented for all text splitting strategies.
@callback split(text :: binary(), opts :: [keyword()]) :: [TextChunker.Chunk.t()]