Skip to content

Commit e55a695

Browse files
authored
small fix to simulate sample (#39331)
* small fix to simulate sample * update changelog
1 parent 634a210 commit e55a695

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/evaluation/azure-ai-evaluation/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- Content safety evaluators (violence, self harm, sexual, hate/unfairness) return the maximum result as the
1515
main score when aggregating per-turn evaluations from a conversation into an overall
1616
evaluation score. Other conversation-capable evaluators still default to a mean for aggregation.
17+
- Fixed bug in non adversarial simulator sample where `tasks` undefined
1718

1819
### Other Changes
1920
- Changed minimum required python version to use this package from 3.8 to 3.9

sdk/evaluation/azure-ai-evaluation/samples/evaluation_samples_simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ async def callback(
232232
target=callback,
233233
max_conversation_turns=2,
234234
text="some text",
235-
tasks=tasks,
235+
tasks=["tasks"],
236236
api_call_delay_sec=1,
237237
num_queries=1,
238238
)

0 commit comments

Comments
 (0)