-
Notifications
You must be signed in to change notification settings - Fork 3k
Adversarial simulator add korean #40723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for the Korean language in the adversarial simulator by extending both the language suffix mapping and the supported languages enum.
- Added a mapping for the Korean language in the suffix mapping helper.
- Extended the SupportedLanguages enum to include the Korean code.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_helpers/_language_suffix_mapping.py | Added a Korean language mapping entry. |
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_constants.py | Extended SupportedLanguages enum with Korean. |
Comments suppressed due to low confidence (1)
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/simulator/_helpers/_language_suffix_mapping.py:17
- Consider adding a unit test to validate that the Korean language mapping returns the expected suffix.
SupportedLanguages.Korean: BASE_SUFFIX.replace("__language__", "korean"),
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
* 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]>
* 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]>
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines