Groundedness: enable Bing/Fabric/Search/SharePoint/OpenAPI tool calls (clean diff) - #5237
Merged
Merged
Conversation
Keep unsupported-tool validation enabled but override groundedness policy to allow bing_custom_search, bing_grounding, azure_ai_search, sharepoint_grounding, azure_fabric, and openapi_call. Add groundedness behavior tests asserting PASS for these tool types; code_interpreter and other restricted tools remain gated. Validation: pytest assets/evaluators/tests/test_evaluators_behavior/test_groundedness_evaluator_behavior.py -k 'test_bing_grounding or test_bing_custom_search or test_azure_ai_search or test_sharepoint_grounding or test_fabric_data_agent or test_openapi or test_code_interpreter' -q (7 passed).
Use neutral leading verb in two new test docstrings to satisfy D403 capitalization checks without changing behavior.
m7md7sien
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bing_groundingbing_custom_searchazure_ai_searchsharepoint_groundingazure_fabricopenapi_callcode_interpreter_call,browser_automation,computer_call, andweb_searchgatedWhy this PR replaces #5236
This branch is cut cleanly from
mainand contains only functional + lint/docstring edits, avoiding the broader formatter-only whitespace churn seen previously.Validation
python -m flake8 --max-line-length=119 assets/evaluators/builtin/groundedness/evaluator/_groundedness.pypython -m pydocstyle --match=.*\\.py assets/evaluators/tests/test_evaluators_behavior/test_groundedness_evaluator_behavior.pypython -m pytest assets/evaluators/tests/test_evaluators_behavior/test_groundedness_evaluator_behavior.py -k "test_bing_grounding or test_bing_custom_search or test_azure_ai_search or test_sharepoint_grounding or test_fabric_data_agent or test_openapi or test_code_interpreter" -q