Class RecognizeCustomEntitiesAction
- java.lang.Object
-
- com.azure.ai.textanalytics.models.RecognizeCustomEntitiesAction
-
public final class RecognizeCustomEntitiesAction extends Object
Configurations that allow callers to specify details about how to execute a custom entities recognition action in a set of documents. See the service documentation for regional support of custom entities recognition: https://aka.ms/azsdk/textanalytics/customentityrecognition
-
-
Constructor Summary
Constructors Constructor Description RecognizeCustomEntitiesAction(String projectName, String deploymentName)
Configurations that allow callers to specify details about how to execute a custom entities recognition action in a set of documents.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionName()
Get the name of action.String
getDeploymentName()
Gets the name of the deployment being consumed.String
getProjectName()
Gets the name of the project which owns the model being consumed.boolean
isServiceLogsDisabled()
Gets the value ofdisableServiceLogs
.RecognizeCustomEntitiesAction
setActionName(String actionName)
Set the custom name for the action.RecognizeCustomEntitiesAction
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value ofdisableServiceLogs
.
-
-
-
Constructor Detail
-
RecognizeCustomEntitiesAction
public RecognizeCustomEntitiesAction(String projectName, String deploymentName)
Configurations that allow callers to specify details about how to execute a custom entities recognition 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 Detail
-
getActionName
public String getActionName()
Get the name of action.- Returns:
- the name of action.
-
setActionName
public RecognizeCustomEntitiesAction setActionName(String actionName)
Set the custom name for the action.- Parameters:
actionName
- the custom name for the action.- Returns:
- The
RecognizeCustomEntitiesAction
object itself.
-
getProjectName
public String 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
public String 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
public RecognizeCustomEntitiesAction setServiceLogsDisabled(boolean disableServiceLogs)
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
RecognizeCustomEntitiesAction
object itself.
-
-