Skip to content

Improve retrieval quality with reranking layer #204

@Ayush-kathil

Description

@Ayush-kathil

Improve retrieval quality with simple reranking

Currently we rely on vector similarity alone to pick top-k documents. In some cases this returns chunks that are close semantically but not the most useful for answering the query.

A simple improvement would be to introduce a reranking step after retrieval:

  • expand the candidate pool slightly
  • rerank using additional signals (e.g. keyword overlap, metadata)
  • select top-k after reranking

This should improve answer quality without adding much complexity.

I can work on an initial version of this if this direction makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions