Skip to content

Azure AI Projects - New generated code #41700

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Azure AI Projects - New generated code #41700

wants to merge 1 commit into from

Conversation

w-javed
Copy link
Contributor

@w-javed w-javed commented Jun 20, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 20, 2025 18:52
@w-javed w-javed requested a review from a team as a code owner June 20, 2025 18:52
@github-actions github-actions bot added the Evaluation Issues related to the client library for Azure AI Evaluation label Jun 20, 2025
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 pull request introduces newly generated code for the Azure AI Projects, updating various client configurations, operation imports, and model enums while removing deprecated operations. Key changes include the removal of ServicePatternsOperations from both synchronous and asynchronous operation initializations, updates to the AttackStrategy and related enum docstrings and values, and modifications to client configuration parameters and credential scopes.

Reviewed Changes

Copilot reviewed 10 out of 24 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/onedp/operations/init.py Removed ServicePatternsOperations import and export
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/onedp/models/_enums.py Updated AttackStrategy and added new enums including a potential typo in "ANSII_ATTACK"
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/onedp/aio/_configuration.py Updated documentation and client configuration for endpoint and credential scopes
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/onedp/aio/_client.py and _client.py Removed ServicePatternsOperations usage and updated serialization imports
Other files Minor documentation updates and removal of legacy vendor file as part of code regeneration

JAILBREAK = "jailbreak"
"""Injects specially crafted prompts to bypass AI safeguards, known as User Injected Prompt
Attacks (UPIA)."""
ANSII_ATTACK = "ansii_attack"
Copy link
Preview

Copilot AI Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The enumeration value 'ANSII_ATTACK' may be misspelled; consider renaming it to 'ANSI_ATTACK' to reflect the correct acronym.

Suggested change
ANSII_ATTACK = "ansii_attack"
ANSI_ATTACK = "ansi_attack"

Copilot uses AI. Check for mistakes.

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.

1 participant