RecognizeCustomEntitiesAction Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. RecognizeCustomEntitiesAction
- com.
public final class RecognizeCustomEntitiesAction
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: custom entity recognition
Constructor Summary
| 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
| Modifier and Type | Method and 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 of |
|
Recognize |
setActionName(String actionName)
Set the custom name for the action. |
|
Recognize |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of |
Methods inherited from java.lang.Object
Constructor Details
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:
Method Details
getActionName
public String getActionName()
Get the name of action.
Returns:
getDeploymentName
public String getDeploymentName()
Gets the name of the deployment being consumed.
Returns:
getProjectName
public String getProjectName()
Gets the name of the project which owns the model being consumed.
Returns:
isServiceLogsDisabled
public boolean isServiceLogsDisabled()
Gets the value of disableServiceLogs.
Returns:
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.setActionName
public RecognizeCustomEntitiesAction setActionName(String actionName)
Set the custom name for the action.
Parameters:
Returns:
RecognizeCustomEntitiesAction object itself.setServiceLogsDisabled
public RecognizeCustomEntitiesAction setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of disableServiceLogs.
Parameters:
Returns:
RecognizeCustomEntitiesAction object itself.