Uses of Interface
dev.dokimos.core.MatchingStrategy
Packages that use MatchingStrategy
-
Uses of MatchingStrategy in dev.dokimos.core
Methods in dev.dokimos.core that return MatchingStrategyModifier and TypeMethodDescriptionstatic MatchingStrategyMatchingStrategy.allOf(MatchingStrategy... strategies) Creates a composite strategy that matches only if ALL strategies match.static MatchingStrategyMatchingStrategy.anyOf(MatchingStrategy... strategies) Creates a composite strategy that matches if ANY of the strategies match.static MatchingStrategyMatchingStrategy.byContainment(boolean normalize) Matches string items by checking if one contains the other.static MatchingStrategyMatchingStrategy.byEquality()Matches items usingObjects.equals(Object, Object).static MatchingStrategyMatches Map items by comparing a specific field.static MatchingStrategyMatches Map items by comparing multiple fields.static MatchingStrategyMatchingStrategy.byIdentifier(Function<Object, Object> identifierExtractor) Matches items by extracting an identifier and comparing with equality.static MatchingStrategyMatchingStrategy.caseInsensitive()Matches string items case-insensitively.static MatchingStrategyMatchingStrategy.custom(BiPredicate<Object, Object> predicate) Matches items using a custom predicate.static MatchingStrategyCreates an LLM-based matching strategy.Methods in dev.dokimos.core with parameters of type MatchingStrategyModifier and TypeMethodDescriptionstatic MatchingStrategyMatchingStrategy.allOf(MatchingStrategy... strategies) Creates a composite strategy that matches only if ALL strategies match.static MatchingStrategyMatchingStrategy.anyOf(MatchingStrategy... strategies) Creates a composite strategy that matches if ANY of the strategies match. -
Uses of MatchingStrategy in dev.dokimos.core.evaluators
Methods in dev.dokimos.core.evaluators with parameters of type MatchingStrategyModifier and TypeMethodDescriptionPrecisionEvaluator.Builder.matchingStrategy(MatchingStrategy matchingStrategy) Sets the strategy for matching retrieved items to expected items.RecallEvaluator.Builder.matchingStrategy(MatchingStrategy matchingStrategy) Sets the strategy for matching retrieved items to expected items.