{'score': 1}Configure the RegexMatchStringEvaluator‚ÄãYou can specify any regex flags to use when matching.import reevaluator = RegexMatchStringEvaluator(    flags=re.IGNORECASE)# Alternatively# evaluator = load_evaluator("exact_match", flags=re.IGNORECASE)evaluator.evaluate_strings(    prediction="I LOVE testing",    reference="I love testing",)    {'score': 1}PreviousExact MatchNextScoring EvaluatorMatch against multiple patternsConfigure the RegexMatchStringEvaluatorCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
Open In Colab
Open In Colab ->: {'score': 1}Configure the RegexMatchStringEvaluator‚ÄãYou can specify any regex flags to use when matching.import reevaluator = RegexMatchStringEvaluator(    flags=re.IGNORECASE)# Alternatively# evaluator = load_evaluator("exact_match", flags=re.IGNORECASE)evaluator.evaluate_strings(    prediction="I LOVE testing",    reference="I love testing",)    {'score': 1}PreviousExact MatchNextScoring EvaluatorMatch against multiple patternsConfigure the RegexMatchStringEvaluatorCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.