Skip to content

Commit ebf29c4

Browse files
nagkumar91Nagkumar ArkalgudNagkumar Arkalgudw-javedCopilot
authored
Docs matching the actual values in the evaluators for thresholds (Azure#40722)
* aggregated binary threshold results for evaluators in metrics * handle when the right columns do not exist * Marking mypy, pylint, black as false * Add to constatns * typo * Changes to default in the docs to match the values being used * Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_similarity/_similarity.py Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Waqas Javed <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 4b02fc0 commit ebf29c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_fluency/_fluency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FluencyEvaluator(PromptyEvaluatorBase[Union[str, float]]):
2323
:param model_config: Configuration for the Azure OpenAI model.
2424
:type model_config: Union[~azure.ai.evaluation.AzureOpenAIModelConfiguration,
2525
~azure.ai.evaluation.OpenAIModelConfiguration]
26-
:param threshold: The threshold for the fluency evaluator. Default is 5.
26+
:param threshold: The threshold for the fluency evaluator. Default is 3.
2727
:type threshold: int
2828
2929
.. admonition:: Example:

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_groundedness/_groundedness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class GroundednessEvaluator(PromptyEvaluatorBase[Union[str, float]]):
3333
:param model_config: Configuration for the Azure OpenAI model.
3434
:type model_config: Union[~azure.ai.evaluation.AzureOpenAIModelConfiguration,
3535
~azure.ai.evaluation.OpenAIModelConfiguration]
36-
:param threshold: The threshold for the groundedness evaluator. Default is 5.
36+
:param threshold: The threshold for the groundedness evaluator. Default is 3.
3737
:type threshold: int
3838
3939
.. admonition:: Example:

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_relevance/_relevance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class RelevanceEvaluator(PromptyEvaluatorBase):
2727
:param model_config: Configuration for the Azure OpenAI model.
2828
:type model_config: Union[~azure.ai.evaluation.AzureOpenAIModelConfiguration,
2929
~azure.ai.evaluation.OpenAIModelConfiguration]
30-
:param threshold: The threshold for the relevance evaluator. Default is 5.
30+
:param threshold: The threshold for the relevance evaluator. Default is 3.
3131
:type threshold: int
3232
3333
.. admonition:: Example:

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluators/_similarity/_similarity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SimilarityEvaluator(PromptyEvaluatorBase):
2828
:param model_config: Configuration for the Azure OpenAI model.
2929
:type model_config: Union[~azure.ai.evaluation.AzureOpenAIModelConfiguration,
3030
~azure.ai.evaluation.OpenAIModelConfiguration]
31-
:param threshold: The threshold for the similarity evaluator. Default is 5.
31+
:param threshold: The threshold for the similarity evaluator. Default is 3.
3232
:type threshold: int
3333
3434
.. admonition:: Example:

0 commit comments

Comments
 (0)