From 1159140d9fa882f19979cfb693159f9aa525647b Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Fri, 26 Jul 2024 13:37:44 -0700 Subject: [PATCH] fix test due to asserting instructions model_schema change --- tests/utilities/evaluators/test_task_evaluator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/utilities/evaluators/test_task_evaluator.py b/tests/utilities/evaluators/test_task_evaluator.py index 8baebde44..879acf0dd 100644 --- a/tests/utilities/evaluators/test_task_evaluator.py +++ b/tests/utilities/evaluators/test_task_evaluator.py @@ -56,8 +56,7 @@ def test_evaluate_training_data(converter_mock): "based on the human feedback\n", model=TrainingTaskEvaluation, instructions="I'm gonna convert this raw text into valid JSON.\n\nThe json should have the " - "following structure, with the following keys:\n- suggestions: List[str]\n- " - "quality: float\n- final_summary: str", + "following structure, with the following keys:\n{\n suggestions: List[str],\n quality: float,\n final_summary: str\n}", ), mock.call().to_pydantic(), ]