Member Junction
    Preparing search index...

    Interface RerankResponse

    Response from a rerank operation.

    interface RerankResponse {
        durationMs: number;
        errorMessage?: string;
        modelName?: string;
        results: RerankResult[];
        success: boolean;
    }
    Index

    Properties

    durationMs: number

    Time taken to perform the reranking in milliseconds

    errorMessage?: string

    Error message if the operation failed

    modelName?: string

    Model name used for reranking (for logging/debugging)

    results: RerankResult[]

    Reranked results sorted by relevance (highest first)

    success: boolean

    Whether the rerank operation succeeded