Skip to content

Add a min_score option #107

Open
@bjchambers

Description

@bjchambers

Is your feature request related to a problem? Please describe.
Not a problem that has arisen, but there are cases where a traversal is being performed and we are only interested in nodes above a certain score threshold.

Describe the solution you'd like
A better solution would allow us to specify the cutoff to the traversal, and then push that filter down to the vector store queries where possible. This would reduce the number of nodes being returned, and allow us to avoid considering any nodes below the threshold.

Describe alternatives you've considered
We can accomplish this today by ignoring any retrieved nodes below the threshold.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions