You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/evaluation/azure-ai-evaluation/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
### Breaking Changes
8
8
9
9
- Removed `numpy` dependency. All NaN values returned by the SDK have been changed to from `numpy.nan` to `math.nan`.
10
+
-`credential` is now required to be passed in for all content safety evaluators and `ProtectedMaterialsEvaluator`. `DefaultAzureCredential` will no longer be chosen if a credential is not passed.
Copy file name to clipboardExpand all lines: sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_content_safety/_content_safety_chat.py
+3-3
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ class ContentSafetyChatEvaluator:
29
29
"""
30
30
Initialize a content safety chat evaluator configured to evaluate content safetry metrics for chat scenario.
31
31
32
+
:param credential: The credential for connecting to Azure AI project. Required
Copy file name to clipboardExpand all lines: sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_protected_material/_protected_material.py
Copy file name to clipboardExpand all lines: sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_protected_materials/_protected_materials.py
+3-3
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,11 @@ class ProtectedMaterialsEvaluator:
54
54
Initialize a protected materials evaluator to detect whether protected material
55
55
is present in your AI system's response. Outputs True or False with AI-generated reasoning.
56
56
57
+
:param credential: The credential for connecting to Azure AI project. Required
0 commit comments