fix(evidence): fail closed when BM25 is unavailable
This commit is contained in:
@@ -367,6 +367,7 @@ class CorpusPipeline:
|
||||
if (
|
||||
not health.ok
|
||||
or health.dimension_compatible is not True
|
||||
or health.bm25_compatible is False
|
||||
or health.expected_dimension != self.embedding_dimensions
|
||||
or health.observed_dimensions != (self.embedding_dimensions,)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user