Skip to content

Increase default AI-agent retrieval top-k from 5 to 10 #4

Description

@AshwaniKharwar

Problem

AI-agent queries currently return only the top 5 results. This can unnecessarily limit retrieval recall.

Proposal

Change the default top-k value for AI-agent queries from 5 to 10.

Rationale

In evaluation, Recall@10 reached 100%, so using 10 results improves recall without needing changes to the query itself.

Acceptance criteria

  • AI-agent queries default to returning the top 10 results.
  • The limit remains configurable where applicable.
  • Relevant tests and documentation reflect the new default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions