semantic-router icon indicating copy to clipboard operation
semantic-router copied to clipboard

Confining topics to a bin or convex hull as an alternate to routing

Open CP500 opened this issue 1 year ago • 3 comments

This approach involves utilizing a set of non-linear 1-dimensional projections to ascertain the relevance of a given item, aiming to confine it within specific bins or a convex hull. As an alternate to the cosine distance.

CP500 avatar Feb 23 '24 01:02 CP500

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.63%. Comparing base (bad9d46) to head (c5210e5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #168   +/-   ##
=======================================
  Coverage   84.63%   84.63%           
=======================================
  Files          37       37           
  Lines        1731     1731           
=======================================
  Hits         1465     1465           
  Misses        266      266           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 23 '24 01:02 codecov[bot]

Oh, this is really nice, @CP500! I was just now looking into proposing a better way to classify user questions to routes and this looks like a cool idea. Any thoughts, @bruvduroiu and @jamescalam?

andreped avatar Mar 15 '24 10:03 andreped

@andreped you can also use this method as a scalar scoring/ ranking function if you had a few good and bad examples.

CP500 avatar Mar 16 '24 03:03 CP500