AbstractiveSummarizationAction interface

Options for an Abstractive Summarization action.

Properties

sentenceCount

The approximate number of sentences to be part of the summary.

stringIndexType

Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see KnownStringIndexType.

The default is the JavaScript's default which is "Utf16CodeUnit".

Property Details

sentenceCount

The approximate number of sentences to be part of the summary.

sentenceCount?: number

Property Value

number

stringIndexType

Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see KnownStringIndexType.

The default is the JavaScript's default which is "Utf16CodeUnit".

stringIndexType?: string

Property Value

string