There was an error while loading. Please reload this page.
1 parent b0b7b92 commit 7cf09e0Copy full SHA for 7cf09e0
tests/llm/evaluators/test_coherency_evaluator.py
@@ -27,9 +27,9 @@ def _make_eval_datasets():
27
def _make_mock_model():
28
model = Mock()
29
model.predict.return_value = ModelPredictionResults(prediction=["Paris", "Eo Romam"])
30
- model.meta.feature_names = ["question", "other"]
31
- model.meta.name = "Mock model for test"
32
- model.meta.description = "This is a model for testing purposes"
+ model.feature_names = ["question", "other"]
+ model.name = "Mock model for test"
+ model.description = "This is a model for testing purposes"
33
return model
34
35
0 commit comments