Hierarchy

Implemented by

Properties

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

Type declaration

    • (text): number
    • Parameters

      • text: string

      Returns number

Type declaration

    • (text): Promise<number>
    • Parameters

      • text: string

      Returns Promise<number>

Generated using TypeDoc