Agentic AI · Advanced level

Advanced level · Module 7: Multi-Agent Retrieval-Augmented Generation · Lesson 2 of 3

Merging, Re-Ranking and Citing Across Sources

Learners merge results from several retrieval agents, re-rank them, remove duplicates and keep source-level citations in the final report.

In this lesson you will

  • Merge and re-rank multi-source results
  • Keep source-level citations

Key concepts

result mergingdeduplicationre-rankingscore normalisationsource citation

The lesson

Scores from different indexes are not directly comparable. Normalise them, or re-rank all candidates together with a second step (for example a small cross-encoder model or an LLM relevance check on the top candidates).

Deduplicate near-identical passages from different collections and keep the most authoritative source, such as the official policy rather than a summary.

Citations must name the collection, document and passage, so readers can check them against the right source.

Step by step

  1. Merge results from the three specialists.
  2. Normalise scores and re-rank the top 15.
  3. Deduplicate and prefer authoritative sources.
  4. Check that citations name collection, document and passage.

Practice activity

Implement merging, re-ranking and source citation for the capstone.

Expected result: A merged, ranked evidence list with authoritative, fully specified citations.

Check your understanding

  1. Why normalise scores from different indexes?

    Show answer

    They are on different scales and are not directly comparable.

  2. What should a multi-source citation include?

    Show answer

    The collection, document and passage.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.