Dela via


AbstractiveSummarizeAction Class

Definition

A set of options used to configure abstractive summarization, including the model version to use, the maximum number of sentences that the resulting summary can have, and more.

public class AbstractiveSummarizeAction
type AbstractiveSummarizeAction = class
Public Class AbstractiveSummarizeAction
Inheritance
AbstractiveSummarizeAction

Constructors

AbstractiveSummarizeAction()

Initializes a new instance of the AbstractiveSummarizeAction class.

AbstractiveSummarizeAction(AbstractiveSummarizeOptions)

Initializes a new instance of the AbstractiveSummarizeAction class based on the given AbstractiveSummarizeOptions.

Properties

ActionName

The name of this action. If not set, the service will generate one.

DisableServiceLogs

Indicates whether the service logs your input text for 48 hours, which is solely to allow for troubleshooting, if needed. Setting this property to true disables input logging and may limit our ability to investigate any issues that occur. If not set, the service default is used.

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

ModelVersion

The version of the text analytics model that will be used to generate the result. To learn more about the supported model versions for each feature, see https://learn.microsoft.com/azure/cognitive-services/language-service/concepts/model-lifecycle.

SentenceCount

The desired number of sentences in the resulting summaries, which the service will attempt to approximate.

Applies to