Briyah SDK - v2.0.18
    Preparing search index...

    Interface ChunkOptions

    interface ChunkOptions {
        maxChars?: number;
        overlapChars?: number;
    }
    Index
    maxChars?: number

    A chunk's target ceiling. Defaults to 1,800 characters.

    overlapChars?: number

    How much of a chunk's end is repeated at the start of the next one on the same page, so a sentence that straddles the cut is whole in one of them. Defaults to 200 characters. Never carried across a heading or a page.