lloyal-agents API Reference
    Preparing search index...

    Interface ScoredResult

    Progressive reranker output emitted during scoring

    Streamed from Reranker.score as an async iterable, allowing callers to report progress while scoring is in flight.

    interface ScoredResult {
        filled: number;
        results: ScoredChunk[];
        total: number;
    }
    Index

    Properties

    Properties

    filled: number

    Number of chunks scored so far

    results: ScoredChunk[]

    Scored chunks accumulated so far, ordered by relevance

    total: number

    Total number of chunks to score