AbstractiveSummaryOptions Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. TextAnalyticsRequestOptions - com.
azure. ai. textanalytics. models. AbstractiveSummaryOptions
- com.
- com.
public final class AbstractiveSummaryOptions
extends TextAnalyticsRequestOptions
Configurations that allow callers to specify details about how to execute an abstractive summarization in a set of documents.
Constructor Summary
| Constructor | Description |
|---|---|
| AbstractiveSummaryOptions() |
Constructs a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getDisplayName()
Gets display name of the operation. |
| Integer |
getSentenceCount()
Get the sentence |
|
Abstractive |
setDisplayName(String displayName)
Sets display name of the operation. |
|
Abstractive |
setIncludeStatistics(boolean includeStatistics)
Sets the value of |
|
Abstractive |
setModelVersion(String modelVersion)
Sets the model version. |
|
Abstractive |
setSentenceCount(Integer sentenceCount)
Set the sentence |
|
Abstractive |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status. |
Methods inherited from TextAnalyticsRequestOptions
Methods inherited from java.lang.Object
Constructor Details
AbstractiveSummaryOptions
public AbstractiveSummaryOptions()
Constructs a AbstractiveSummaryOptions model.
Method Details
getDisplayName
public String getDisplayName()
Gets display name of the operation.
Returns:
getSentenceCount
public Integer getSentenceCount()
Get the sentenceCount property: It controls the approximate number of sentences in the output summaries.
Returns:
setDisplayName
public AbstractiveSummaryOptions setDisplayName(String displayName)
Sets display name of the operation.
Parameters:
Returns:
AbstractiveSummaryOptions object itself.setIncludeStatistics
public AbstractiveSummaryOptions setIncludeStatistics(boolean includeStatistics)
Sets the value of includeStatistics. The default value is false by default. If set to true, indicates that the service should return document and document batch statistics with the results of the operation.
Overrides:
AbstractiveSummaryOptions.setIncludeStatistics(boolean includeStatistics)Parameters:
Returns:
AbstractiveSummaryOptions object itself.setModelVersion
public AbstractiveSummaryOptions setModelVersion(String modelVersion)
Sets the model version. This value indicates which model will be used for scoring, e.g. "latest", "2019-10-01". If a model-version is not specified, the API will default to the latest, non-preview version.
Overrides:
AbstractiveSummaryOptions.setModelVersion(String modelVersion)Parameters:
Returns:
AbstractiveSummaryOptions object itself.setSentenceCount
public AbstractiveSummaryOptions setSentenceCount(Integer sentenceCount)
Set the sentenceCount property: It controls the approximate number of sentences in the output summaries.
Parameters:
Returns:
AbstractiveSummaryOptions object itself.setServiceLogsDisabled
public AbstractiveSummaryOptions setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status.
Overrides:
AbstractiveSummaryOptions.setServiceLogsDisabled(boolean disableServiceLogs)Parameters:
Returns:
AbstractiveSummaryOptions object itself.