public final class ExtractSummaryAction extends Object
Constructor and Description |
---|
ExtractSummaryAction() |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxSentenceCount()
Gets the maximum extractive summarization sentences number to be returned in the response.
|
String |
getModelVersion()
Gets the version of the text analytics model used by this operation.
|
SummarySentencesOrder |
getSentencesOrderBy()
Gets the order in which the summary sentences will be presented by.
|
boolean |
isServiceLogsDisabled()
Gets the value of
disableServiceLogs . |
ExtractSummaryAction |
setMaxSentenceCount(Integer maxSentenceCount)
Sets the maximum extractive summarization sentences number to be returned in the response.
|
ExtractSummaryAction |
setModelVersion(String modelVersion)
Set the model version.
|
ExtractSummaryAction |
setSentencesOrderBy(SummarySentencesOrder sentencesOrderBy)
Sets the order in which the summary sentences will be presented by.
|
ExtractSummaryAction |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of
disableServiceLogs . |
public String getModelVersion()
public ExtractSummaryAction setModelVersion(String modelVersion)
modelVersion
- The model version.ExtractSummaryAction
object itself.public boolean isServiceLogsDisabled()
disableServiceLogs
.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.public ExtractSummaryAction setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
.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.ExtractSummaryAction
object itself.public Integer getMaxSentenceCount()
public ExtractSummaryAction setMaxSentenceCount(Integer maxSentenceCount)
maxSentenceCount
- The maximum extractive summarization sentences number to be returned in the response.ExtractSummaryAction
object itself.public SummarySentencesOrder getSentencesOrderBy()
public ExtractSummaryAction setSentencesOrderBy(SummarySentencesOrder sentencesOrderBy)
SummarySentencesOrder.OFFSET
if not specified.sentencesOrderBy
- The type of summary sentences order. Defaults to SummarySentencesOrder.OFFSET
if not specified.ExtractSummaryAction
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.