Interface HydeMultiRetrievalResult

Result from multi-hypothesis HyDE retrieval.

Contains all generated hypotheses and the deduplicated, merged result set from searching with each hypothesis embedding.

Interface

HydeMultiRetrievalResult

interface HydeMultiRetrievalResult {
    hypotheses: string[];
    queryResult: QueryResult;
    hypothesisCount: number;
    hypothesisLatencyMs: number;
    retrievalLatencyMs: number;
}

Properties

hypotheses: string[]

All generated hypotheses.

queryResult: QueryResult

Deduplicated query result (union of all hypothesis searches, highest score per doc).

hypothesisCount: number

Number of hypotheses generated.

hypothesisLatencyMs: number

Total time for all hypothesis generations (ms).

retrievalLatencyMs: number

Total time for all embedding + retrieval passes (ms).