Package com.azure.ai.textanalytics.util
Class ExtractSummaryResultCollection
java.lang.Object
com.azure.core.util.IterableStream<ExtractSummaryResult>
com.azure.ai.textanalytics.util.ExtractSummaryResultCollection
- All Implemented Interfaces:
Iterable<ExtractSummaryResult>
A collection model that contains a list of
ExtractSummaryResult
along with model version and
batch's statistics.-
Constructor Summary
ConstructorDescriptionExtractSummaryResultCollection
(Iterable<ExtractSummaryResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics) Create aExtractSummaryResultCollection
model that maintains a list ofExtractSummaryResult
along with model version and batch's statistics. -
Method Summary
Modifier and TypeMethodDescriptionGet the model version trained in service for the request.Get the batch statistics of response.Methods inherited from class com.azure.core.util.IterableStream
iterator, of, stream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ExtractSummaryResultCollection
public ExtractSummaryResultCollection(Iterable<ExtractSummaryResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics) Create aExtractSummaryResultCollection
model that maintains a list ofExtractSummaryResult
along with model version and batch's statistics.- Parameters:
documentResults
- A list ofExtractSummaryResult
.modelVersion
- The model version trained in service for the request.statistics
- The batch statistics of response.
-
-
Method Details
-
getModelVersion
Get the model version trained in service for the request.- Returns:
- The model version trained in service for the request.
-
getStatistics
Get the batch statistics of response.- Returns:
- The batch statistics of response.
-