Class MultiCategoryClassifyAction
java.lang.Object
com.azure.ai.textanalytics.models.MultiCategoryClassifyAction
Configurations that allow callers to specify details about how to execute a multi-label classification action
in a set of documents.
See the service documentation for regional support of custom multi classification:
https://aka.ms/azsdk/textanalytics/customfunctionalities
-
Constructor Summary
ConstructorDescriptionMultiCategoryClassifyAction
(String projectName, String deploymentName) Configurations that allow callers to specify details about how to execute a multi-label classification action in a set of documents. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of action.Gets the name of the deployment being consumed.Gets the name of the project which owns the model being consumed.boolean
Gets the value ofdisableServiceLogs
.setActionName
(String actionName) Set the custom name for the action.setServiceLogsDisabled
(boolean disableServiceLogs) Sets the value ofdisableServiceLogs
.
-
Constructor Details
-
MultiCategoryClassifyAction
Configurations that allow callers to specify details about how to execute a multi-label classification action in a set of documents.- Parameters:
projectName
- The name of the project which owns the model being consumed.deploymentName
- The name of the deployment being consumed.
-
-
Method Details
-
getActionName
Get the name of action.- Returns:
- the name of action.
-
setActionName
Set the custom name for the action.- Parameters:
actionName
- the custom name for the action.- Returns:
- The
MultiCategoryClassifyAction
object itself.
-
getProjectName
Gets the name of the project which owns the model being consumed.- Returns:
- The name of the project which owns the model being consumed.
-
getDeploymentName
Gets the name of the deployment being consumed.- Returns:
- The name of the deployment being consumed.
-
isServiceLogsDisabled
public boolean isServiceLogsDisabled()Gets the value ofdisableServiceLogs
.- Returns:
- The value of
disableServiceLogs
. The default value of this property is 'false'. This means, Text Analytics 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.
-
setServiceLogsDisabled
Sets the value ofdisableServiceLogs
.- Parameters:
disableServiceLogs
- The default value of this property is 'false'. This means, Text Analytics 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.- Returns:
- The
MultiCategoryClassifyAction
object itself.
-