Skip to content
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

UpdateImportMessage #40276

Merged
merged 1 commit into from
Mar 28, 2025
Merged

UpdateImportMessage #40276

merged 1 commit into from
Mar 28, 2025

Conversation

w-javed
Copy link
Contributor

@w-javed w-javed commented Mar 28, 2025

No description provided.

@Copilot Copilot bot review requested due to automatic review settings March 28, 2025 18:57
@w-javed w-javed requested a review from a team as a code owner March 28, 2025 18:57
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 updates the dependency import messages in the SDK's evaluation module. The changes update printed messages to include an "[INFO]" tag, providing clearer guidance to users about missing dependencies.

  • Updated the message for missing AIAgentConverter dependency.
  • Updated the message for missing RedTeam dependency.
Comments suppressed due to low confidence (2)

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/init.py:53

  • [nitpick] Consider using a logging framework (e.g., logging.info) instead of print statements to provide more flexible control over log levels in production code.
print("[INFO] Could not import AIAgentConverter. Please install the dependency with `pip install azure-ai-projects`.")

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/init.py:69

  • [nitpick] Consider using a logging framework (e.g., logging.info) instead of print statements to provide more flexible control over log levels in production code.
print("[INFO] Could not import RedTeam. Please install the dependency with `pip install azure-ai-evaluation[redteam]`.")

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

API change check

API changes are not detected in this pull request.

@w-javed w-javed merged commit 68a1936 into Azure:main Mar 28, 2025
23 checks passed
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.

3 participants