Skip to content

sample_evaluation_cluster_insight - dataset deletion bug #44471

@ManniArora

Description

@ManniArora

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 Evaluationcustomer-reportedIssues 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 that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions