mirror of
https://github.com/openai/codex.git
synced 2026-11-29 07:35:16 +00:00
Add multi-query lexical skill selection (#33614)
## What changed - Add a lexical selector that splits compound queries into sentence and connector-delimited views. - Merge candidates across the full query and its component views, prioritizing their best rank while using full-query rank, view coverage, and stable identifiers as tie-breakers. - Bound query decomposition and result counts, propagate truncation signals, and include the selector in the shadow-selection experiment. ## Testing - Add unit coverage for compound-query ranking, single-query compatibility, query splitting, and bounded-input signals. GitOrigin-RevId: 2442bf7198fc24295cbc270b9d222275ae8a7cc3
This commit is contained in:
1 parent
c983a53f20
commit
0f44bca915
4 files changed
+260
No files matched your search
@@ -1,8 +1,10 @@
|
||||
mod character_ngram;
|
||||
mod fielded_bm25;
|
||||
mod multi_query_lexical;
|
||||
mod weighted_lexical;
|
||||
pub(crate) use character_ngram::CharacterNgramSkillSelector;
|
||||
pub(crate) use fielded_bm25::FieldedBm25SkillSelector;
|
||||
pub(crate) use multi_query_lexical::MultiQueryLexicalSkillSelector;
|
||||
pub(crate) use weighted_lexical::WeightedLexicalSkillSelector;
|
||||
|
||||
/// Metadata searched by a cheap skill selector.
|
||||
|
||||
Reference in new issue
Block a user