Skip to content

The agent engineering platform.

[Evaluation] Config Fix (#18231)

William FH8af4425abd3c
diff --git a/libs/langchain/langchain/smith/evaluation/config.py b/libs/langchain/langchain/smith/evaluation/config.py
index cbdd790e22..69dc1c9efa 100644
--- a/libs/langchain/langchain/smith/evaluation/config.py
+++ b/libs/langchain/langchain/smith/evaluation/config.py
@@ -296,7 +296,7 @@ class RunEvalConfig(BaseModel):
Whether to ignore numbers when comparing strings.
"""
- evaluator_type: EvaluatorType = EvaluatorType.STRING_DISTANCE
+ evaluator_type: EvaluatorType = EvaluatorType.EXACT_MATCH
ignore_case: bool = False
ignore_punctuation: bool = False
ignore_numbers: bool = False