Member Junction
    Preparing search index...

    A single chunk of text with position metadata.

    interface TextChunk {
        EndOffset: number;
        Index: number;
        StartOffset: number;
        Text: string;
        TokenCount: number;
    }
    Index

    Properties

    EndOffset: number

    End character offset in the original text (exclusive)

    Index: number

    0-based chunk index

    StartOffset: number

    Start character offset in the original text

    Text: string

    The chunk text content

    TokenCount: number

    Approximate token count for this chunk