Skip to content

Commit 7625286

Browse files
authored
Disable Promptflow local tracing (Azure#38811)
* Disable Promptflow local tracing * CHANGELOG
1 parent 281ef9d commit 7625286

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- Fixed the non adversarial simulator to run in task-free mode
1313

1414
### Other Changes
15+
- Stop dependency on the local promptflow service. No promptflow service will automatically start when running evaluation.
1516

1617
## 1.1.0 (2024-12-12)
1718

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from promptflow._sdk._constants import LINE_NUMBER
1313
from promptflow.client import PFClient
1414
from promptflow.entities import Run
15+
from promptflow._sdk._configuration import Configuration
1516

1617
from azure.ai.evaluation._common.math import list_mean_nan_safe, apply_transform_nan_safe
1718
from azure.ai.evaluation._common.utils import validate_azure_ai_project
@@ -711,6 +712,7 @@ def _evaluate( # pylint: disable=too-many-locals,too-many-statements
711712
if target is not None:
712713
_validate_columns_for_target(input_data_df, target)
713714

715+
Configuration.get_instance().set_config("trace.destination", "none")
714716
pf_client = PFClient(user_agent=USER_AGENT)
715717
target_run: Optional[Run] = None
716718

0 commit comments

Comments
 (0)