interface CharacterTextSplitterParams {
    chunkOverlap: number;
    chunkSize: number;
    keepSeparator: boolean;
    lengthFunction?: ((text: string) => number) | ((text: string) => Promise<number>);
    separator: string;
}

Hierarchy (view full)

Implemented by

Properties

chunkOverlap: number
chunkSize: number
keepSeparator: boolean
lengthFunction?: ((text: string) => number) | ((text: string) => Promise<number>)
separator: string