Adjust relevance scoring threshold to consistent with existing implementations
This commit is contained in:
parent
2cff7013c0
commit
d95d2784da
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ impl CompletionRelevance {
|
|||
/// some threshold such that we think it is especially likely
|
||||
/// to be relevant.
|
||||
pub fn is_relevant(&self) -> bool {
|
||||
self.score() > 0
|
||||
self.score() > (!0 / 2)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue