interface EnsembleRetrieverInput {
    retrievers: BaseRetriever[];
    c?: number;
    weights?: number[];
}

Hierarchy (view full)

Properties

retrievers: BaseRetriever[]

A list of retrievers to ensemble.

c?: number

A constant added to the rank, controlling the balance between the importance of high-ranked items and the consideration given to lower-ranked items. Default is 60.

weights?: number[]

A list of weights corresponding to the retrievers. Defaults to equal weighting for all retrievers.

""