-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
EvaluationIssues related to the client library for Azure AI EvaluationIssues related to the client library for Azure AI Evaluationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Description
The dataset deletion call in the sample_evaluation_cluster_insight sample uses an incorrect parameter when deleting a dataset. The sample passes dataset.id as the name argument, which causes the deletion call to fail.
To Reproduce
Steps to reproduce the behavior:
Run the sample_evaluation_cluster_insight sample.
Create a dataset as part of the sample flow.
Execute the dataset deletion step:
project_client.datasets.delete(name=dataset.id, version=dataset.version)
Suggested Change
project_client.datasets.delete(name=dataset.name, version=dataset.version)
Observe that the dataset deletion fails.
Expected behavior
The dataset should be successfully deleted when calling the delete API with the dataset name and version.
Metadata
Metadata
Assignees
Labels
EvaluationIssues related to the client library for Azure AI EvaluationIssues related to the client library for Azure AI Evaluationcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that