DocumentationNeuronDB Documentation
Documentation Branch: You are viewing documentation for the main branch (3.0.0-devel). Select a branch to view its documentation:

Ensemble Reranking

Ensemble Reranking

Combine multiple reranking strategies for best results.

Ensemble Reranking

Combine multiple rerankers:

-- Ensemble reranking
SELECT idx, score FROM rerank_ensemble(
    'query text',
    ARRAY['doc 1', 'doc 2'],
    ARRAY[                    -- reranker configs
        '{"type": "cross_encoder", "weight": 0.6}',
        '{"type": "llm", "weight": 0.4}'
    ]::jsonb[],
    5
);

Learn More

For detailed documentation on ensemble strategies, weight optimization, and combining rerankers, visit:

Ensemble Reranking Documentation