Skip to content

feat: minimum relevance threshold for retrieval #10

@brgsk

Description

@brgsk

Context

From #6 — the same facts appear in retrieval results regardless of query content.

Problem

Retrieval currently returns top-k results with no minimum relevance cutoff. With a small knowledge base, every query returns the same entries because there aren't enough entries to differentiate, and low-scoring results are never filtered out.

Proposal

Add a minimum relevance threshold so that only results above a configurable score are returned. Consider also adding a diversity mechanism to avoid redundant results dominating the output.

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