Skip to content

Commit be1d439

Browse files
authored
fix: treat TaskAdherence tool definitions as optional (#43928)
1 parent 84d5584 commit be1d439

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release History
22

3+
## 1.13.5 (Unreleased)
4+
5+
### Features Added
6+
7+
### Breaking Changes
8+
9+
### Bugs Fixed
10+
11+
- **TaskAdherenceEvaluator:** treat tool definitions as optional so evaluations with only query/response inputs no longer raise “Either 'conversation' or individual inputs must be provided.”
12+
13+
### Other Changes
14+
315
## 1.13.4 (2025-11-10)
416

517
### Bugs Fixed

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_task_adherence/_task_adherence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class TaskAdherenceEvaluator(PromptyEvaluatorBase[Union[str, float]]):
6363

6464
_PROMPTY_FILE = "task_adherence.prompty"
6565
_RESULT_KEY = "task_adherence"
66-
_OPTIONAL_PARAMS = []
66+
_OPTIONAL_PARAMS = ["tool_definitions"]
6767

6868
_DEFAULT_TASK_ADHERENCE_SCORE = 0
6969

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# ---------------------------------------------------------
44
# represents upcoming version
55

6-
VERSION = "1.13.4"
6+
VERSION = "1.13.5"

0 commit comments

Comments
 (0)