Repository navigation
feat(routing): add natural-language search to dirctl routing search - #1783
Conversation
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
Signed-off-by: Catarina Paralta <[email protected]>
|
The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).
|
Signed-off-by: Catarina Paralta <[email protected]>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Just one small comment. The "and results are returned ranked by match_score descending" is true only for the "limited" recordset defined by the |
tkircsi
left a comment
There was a problem hiding this comment.
LGTM! added a small finding.
| Provide a free-text query as a positional argument to use natural-language | ||
| search: the OASF extractor (set up by 'dirctl init') decomposes the phrase | ||
| into skill and domain signals. Each signal is queried independently against | ||
| the routing DHT and results are ranked by match score, best-first. |
There was a problem hiding this comment.
it's "the discovered window, reordered," not true global top-N.
There was a problem hiding this comment.
very good point! thanks for reviewing 👍
Signed-off-by: Catarina Paralta <[email protected]>
This PR adds free-text query support to
dirctl routing search, mirroring the NL search already available indirctl search. When a positional query is given, the OASF extractor decomposes it into skill and domain signals (keyword signals are dropped — the DHT has no name/description index), each signal becomes a routing DHT query, and results are returned ranked bymatch_scoredescending. Structured routing search also gains score-sorted output, fixing the prior behaviour where results arrived in arbitrary DHT discovery order.DecomposeWithMinScoreis introduced as a parameterised variant ofDecomposeso routing can widen the threshold without affecting the local index search path.