Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Aggregated evaluation result on conversation level. This contains evaluation results of all the metrics and sections.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail.



22896
22897
22898
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22896

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#message_entriesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>

Output only. Conversation transcript that used for summarization evaluation as a reference. Corresponds to the JSON property messageEntries



22876
22877
22878
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22876

def message_entries
  @message_entries
end

#metric_detailsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail>

Output only. List of metric details. Corresponds to the JSON property metricDetails



22881
22882
22883
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22881

def metric_details
  @metric_details
end

#section_tokensArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken>

Output only. Conversation level token count per section. This is an aggregated( sum) result of input token of summary acorss all metrics for a single conversation. Corresponds to the JSON property sectionTokens



22888
22889
22890
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22888

def section_tokens
  @section_tokens
end

#summary_sectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection>

Output only. Summary sections that used for summarization evaluation as a reference. Corresponds to the JSON property summarySections



22894
22895
22896
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22894

def summary_sections
  @summary_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22901
22902
22903
22904
22905
22906
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22901

def update!(**args)
  @message_entries = args[:message_entries] if args.key?(:message_entries)
  @metric_details = args[:metric_details] if args.key?(:metric_details)
  @section_tokens = args[:section_tokens] if args.key?(:section_tokens)
  @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
end