Python: Add experimental decorator to all Evals pieces (#5040)

* Initial plan

* feat(python): add experimental decorator to all Evals pieces

Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/99d71249-a5d6-4977-a5b5-6ffe0a3be2bc

Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com>
This commit is contained in:
Copilot
2026-04-02 11:18:35 +02:00
committed by GitHub
Unverified
parent 3d87cec304
commit 7607acd009
3 changed files with 25 additions and 0 deletions
@@ -40,6 +40,7 @@ from agent_framework._evaluation import (
EvalResults,
EvalScoreResult,
)
from agent_framework._feature_stage import ExperimentalFeature, experimental
from openai import AsyncOpenAI
from ._chat_client import FoundryChatClient
@@ -491,6 +492,7 @@ async def _evaluate_via_responses_impl(
# ---------------------------------------------------------------------------
@experimental(feature_id=ExperimentalFeature.EVALS)
class FoundryEvals:
"""Evaluation provider backed by Microsoft Foundry.
@@ -727,6 +729,7 @@ class FoundryEvals:
# ---------------------------------------------------------------------------
@experimental(feature_id=ExperimentalFeature.EVALS)
async def evaluate_traces(
*,
evaluators: Sequence[str] | None = None,
@@ -817,6 +820,7 @@ async def evaluate_traces(
return await _poll_eval_run(oai_client, eval_obj.id, run.id, poll_interval, timeout)
@experimental(feature_id=ExperimentalFeature.EVALS)
async def evaluate_foundry_target(
*,
target: dict[str, Any],