Skip to content

Commit de8a43d

Browse files
Neehar DuvvuriNeehar Duvvuri
authored andcommitted
fix unit tests
1 parent 06e07f4 commit de8a43d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/evaluation/azure-ai-evaluation/tests/unittests/test_built_in_evaluator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
async def quality_response_async_mock(*args, **kwargs):
16-
return (
16+
llm_output = (
1717
"<S0>Let's think step by step: The response 'Honolulu' is a single word. "
1818
"It does not form a complete sentence, lacks grammatical structure, and does not "
1919
"convey any clear idea or message. It is not possible to assess vocabulary range, "
@@ -23,6 +23,7 @@ async def quality_response_async_mock(*args, **kwargs):
2323
" fluency. It is largely incomprehensible and does not meet the criteria for higher fluency "
2424
"levels.</S1><S2>1</S2>"
2525
)
26+
return {"llm_output": llm_output}
2627

2728

2829
async def quality_no_response_async_mock():

0 commit comments

Comments
 (0)