Delen via


SingleLabelClassifyAction Class

Definition

Configurations that allow callers to specify details about how to execute a Single Label Classification action on a set of documents. This corresponds to a Single Label Classification task in the Language service. For example, the target project and deployment names are required for a successful custom classification action.

public class SingleLabelClassifyAction
type SingleLabelClassifyAction = class
Public Class SingleLabelClassifyAction
Inheritance
SingleLabelClassifyAction

Constructors

SingleLabelClassifyAction(String, String)

Initializes a new instance of the SingleLabelClassifyAction class which allows callers to specify details about how to execute a Single Label Classification action on a set of documents. Sets the ProjectName and DeploymentName properties.

Properties

ActionName

Gets or sets a name for this action. If not provided, the service will generate one.

DeploymentName

Gets the value of the property corresponding to the name of the target deployment.

DisableServiceLogs

The default value of this property is 'false'. This means, the Language service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true, disables input logging and may limit our ability to investigate issues that occur.

Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/ai/responsible-ai.

ProjectName

Gets the value of the property corresponding to the name of the target project.

Applies to