Skip to content

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

Merged
merged 10 commits into from
Apr 28, 2025

Conversation

nagkumar91
Copy link
Member

@nagkumar91 nagkumar91 commented Apr 25, 2025

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@Copilot Copilot AI review requested due to automatic review settings April 25, 2025 16:12
@nagkumar91 nagkumar91 requested a review from a team as a code owner April 25, 2025 16:12
Copy link
Contributor

@Copilot Copilot AI left a 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"),

@github-actions github-actions bot added the Evaluation Issues related to the client library for Azure AI Evaluation label Apr 25, 2025
@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 25, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-ai-evaluation

@nagkumar91 nagkumar91 enabled auto-merge (squash) April 25, 2025 17:58
@nagkumar91 nagkumar91 disabled auto-merge April 28, 2025 16:32
@nagkumar91 nagkumar91 enabled auto-merge (squash) April 28, 2025 16:32
@nagkumar91 nagkumar91 merged commit c202be6 into Azure:main Apr 28, 2025
24 checks passed
@nagkumar91 nagkumar91 deleted the task/adv_sim_add_korean branch April 28, 2025 16:33
bambriz pushed a commit to bambriz/azure-sdk-for-python that referenced this pull request May 5, 2025
* 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]>
cRui861 pushed a commit that referenced this pull request May 14, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Evaluation Issues related to the client library for Azure AI Evaluation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants