共用方式為


RecognizeEntitiesAction Class

Definition

Configurations that allow callers to specify details about how to execute a Recognize Entities action in a set of documents. For example, set model version and disable service logging.

public class RecognizeEntitiesAction
type RecognizeEntitiesAction = class
Public Class RecognizeEntitiesAction
Inheritance
RecognizeEntitiesAction

Constructors

RecognizeEntitiesAction()

Initializes a new instance of the RecognizeEntitiesAction class which allows callers to specify details about how to execute a Recognize Entities action in a set of documents. For example, set model version and disable service logging.

RecognizeEntitiesAction(TextAnalyticsRequestOptions)

Initializes a new instance of the RecognizeEntitiesAction class based on the values of a TextAnalyticsRequestOptions. It sets the ModelVersion and DisableServiceLogs properties.

Properties

ActionName

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

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.

ModelVersion

Gets or sets a value that, if set, indicates the version of the text analytics model that will be used to generate the result. For supported model versions, see operation-specific documentation, for example: https://docs.microsoft.com/azure/cognitive-services/language-service/concepts/model-lifecycle#available-versions.

Applies to