allowedSpecial
allowedSpecial: string[] | "all"
chunkOverlap
chunkOverlap: number
chunkSize
chunkSize: number
disallowedSpecial
disallowedSpecial: string[] | "all"
encodingName
encodingName: TiktokenEncoding
keepSeparator
keepSeparator: boolean
Optional
lengthFunction
lengthFunction?: ((text: string) => number) | ((text: string) => Promise<number>)