Class AnalyzeSentimentResultCollection

java.lang.Object
com.azure.core.util.IterableStream<AnalyzeSentimentResult>
com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection
All Implemented Interfaces:
Iterable<AnalyzeSentimentResult>

public class AnalyzeSentimentResultCollection extends IterableStream<AnalyzeSentimentResult>
A collection model that contains a list of AnalyzeSentimentResult along with model version and batch's statistics.
  • Constructor Details

  • Method Details

    • getModelVersion

      public String getModelVersion()
      Gets the model version trained in service for the request.
      Returns:
      The model version trained in service for the request.
    • getStatistics

      public TextDocumentBatchStatistics getStatistics()
      Gets the batch statistics of response.
      Returns:
      The batch statistics of response.