Skip to content

[TOU] Make tool definitions required in validation#45267

Merged
ahibrahimm merged 6 commits intomainfrom
ahibrahim/tou
Feb 20, 2026
Merged

[TOU] Make tool definitions required in validation#45267
ahibrahimm merged 6 commits intomainfrom
ahibrahim/tou

Conversation

@ahibrahimm
Copy link
Contributor

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@ahibrahimm ahibrahimm requested a review from a team as a code owner February 19, 2026 22:15
Copilot AI review requested due to automatic review settings February 19, 2026 22:15
@github-actions github-actions bot added the Evaluation Issues related to the client library for Azure AI Evaluation label Feb 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request makes tool definitions a required input for the ToolOutputUtilizationEvaluator by setting optional_tool_definitions=False when initializing the ToolDefinitionsValidator. This aligns the evaluator's behavior with ToolInputAccuracyEvaluator, which already requires tool definitions.

Changes:

  • Modified ToolDefinitionsValidator initialization to require tool_definitions parameter

@ahibrahimm ahibrahimm enabled auto-merge (squash) February 20, 2026 00:00
@ahibrahimm ahibrahimm merged commit 49555d2 into main Feb 20, 2026
21 checks passed
@ahibrahimm ahibrahimm deleted the ahibrahim/tou branch February 20, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Evaluation Issues related to the client library for Azure AI Evaluation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments