# Functions
NewSplitter creates a new splitter with default options and returns it.
NewSplitter creates a new splitter and returns it.
NewSplitterWithConfig creates a new text splitter with default options and returns it.
NewSplitterWithConfig creates a new text splitter and returns it.
# Constants
DefaultChunkOverlap is default chunk overlap.
DefaultChunkSize is default chunk size.
# Variables
DefaultLenFunc is a default string length function.
DefaultSeparator is default text separator.
DefaultSeparators are used in RecursiveCharSplitter.
StringBytesLenFunc counts number of bytes in a string.
# Structs
CharSplitter is a character text splitter.
Config configures the splitter NOTE: this is used to prevent situations where values in constructors accidentally mix the order of parameters of the same type leading to unpredicable behaviour.
RecursiveCharSplitter is a recursive character text splitter.
Sep is a text separator.
Splitter splits text documents.
# Type aliases
LenFunc is used for funcs that calculate string lengths.