Skip to content

Commit 4adf302

Browse files
nagkumar91Nagkumar ArkalgudNagkumar Arkalgud
authored and
Rena Chen
committed
Adversarial simulator add korean (#40723)
* 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 * Adding korean to the supported languages --------- Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Nagkumar Arkalgud <[email protected]>
1 parent c90a0c7 commit 4adf302

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_constants.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ class SupportedLanguages(Enum):
2525
Portuguese = "pt"
2626
Japanese = "ja"
2727
English = "en"
28+
Korean = "ko"

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_helpers/_language_suffix_mapping.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
SupportedLanguages.SimplifiedChinese: BASE_SUFFIX.replace("__language__", "simplified chinese"),
1515
SupportedLanguages.Portuguese: BASE_SUFFIX.replace("__language__", "portuguese"),
1616
SupportedLanguages.Japanese: BASE_SUFFIX.replace("__language__", "japanese"),
17+
SupportedLanguages.Korean: BASE_SUFFIX.replace("__language__", "korean"),
1718
}

0 commit comments

Comments
 (0)