[GH-ISSUE #282] Return Relevancy Score with similarityResponse #168

Closed
opened 2026-02-22 18:18:10 -05:00 by yindo · 1 comment
Owner

Originally created by @timothycarambat on GitHub (Oct 23, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/282

Originally assigned to: @shatfield4 on GitHub.

We should include a normalized score value in every vectordb's similarityResponse method. We will not display this at this time but it should be a normalized score of 0-100% in decimal value.

In the future we can show the score next to each snippet and add a default 'relevancy filter' per workspace to determine if a snippet/citation should be included in a response.

Each vectorDB returns a vary idea of similarity scoring. Ref VectorAdmin to see how that is done.

Originally created by @timothycarambat on GitHub (Oct 23, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/282 Originally assigned to: @shatfield4 on GitHub. We should include a normalized `score` value in every vectordb's `similarityResponse` method. We will not display this at this time but it should be a normalized score of 0-100% in decimal value. In the future we can show the score next to each snippet and add a default 'relevancy filter' per workspace to determine if a snippet/citation should be included in a response. Each vectorDB returns a vary idea of similarity scoring. Ref VectorAdmin to see how that is done.
yindo closed this issue 2026-02-22 18:18:11 -05:00
Author
Owner

@franzbischoff commented on GitHub (Oct 28, 2023):

And this can also be used further on with a re-rank step before sending things to the LLM.

@franzbischoff commented on GitHub (Oct 28, 2023): And this can also be used further on with a re-rank step before sending things to the LLM.
yindo changed title from Return Relevancy Score with `similarityResponse` to [GH-ISSUE #282] Return Relevancy Score with `similarityResponse` 2026-06-05 14:33:50 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#168