interface RecursiveCharacterTextSplitterParams {
    chunkOverlap: number;
    chunkSize: number;
    keepSeparator: boolean;
    lengthFunction?: ((text: string) => number) | ((text: string) => Promise<number>);
    separators: string[];
}

Hierarchy (view full)

Implemented by

Properties

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