Skip to content

Commit

Permalink
update semantic ratio assert
Browse files Browse the repository at this point in the history
  • Loading branch information
memishood committed Dec 30, 2024
1 parent 9c2dd85 commit d3380ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/query_parameters/hybrid_search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class HybridSearch {
required this.embedder,
required this.semanticRatio,
}) : assert(
semanticRatio > 0.0 && semanticRatio < 1.0,
semanticRatio >= 0.0 && semanticRatio <= 1.0,
"'semanticRatio' must be greater than 0.0 and less than 1.0",
);

Expand Down

0 comments on commit d3380ce

Please sign in to comment.