Skip to content

Groundedness: enable Bing/Fabric/Search/SharePoint/OpenAPI tool calls (clean diff) - #5237

Merged
mmkawale merged 2 commits into
mainfrom
copilot/groundedness-enable-tools-clean
Jul 28, 2026
Merged

Groundedness: enable Bing/Fabric/Search/SharePoint/OpenAPI tool calls (clean diff)#5237
mmkawale merged 2 commits into
mainfrom
copilot/groundedness-enable-tools-clean

Conversation

@mmkawale

Copy link
Copy Markdown
Contributor

Summary

  • enable groundedness evaluator for these tool call types:
    • bing_grounding
    • bing_custom_search
    • azure_ai_search
    • sharepoint_grounding
    • azure_fabric
    • openapi_call
  • keep unsupported-tool validation enabled with a groundedness-specific policy override
  • keep code_interpreter_call, browser_automation, computer_call, and web_search gated

Why this PR replaces #5236

This branch is cut cleanly from main and 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.py
  • python -m pydocstyle --match=.*\\.py assets/evaluators/tests/test_evaluators_behavior/test_groundedness_evaluator_behavior.py
  • python -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
  • result: 7 passed

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.
@mmkawale
mmkawale requested review from a team as code owners July 28, 2026 17:35
@mmkawale
mmkawale merged commit 26f1f84 into main Jul 28, 2026
57 checks passed
@mmkawale
mmkawale deleted the copilot/groundedness-enable-tools-clean branch July 28, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants