Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Aggregated evaluation result on conversation level. This conatins evaluation results of all the metrics and sections.
Instance Attribute Summary collapse
-
#message_entries ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry>
Output only.
-
#metric_details ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail>
Output only.
-
#section_tokens ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken>
Output only.
-
#summary_sections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
constructor
A new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail.
18213 18214 18215 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18213 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_entries ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry>
Output only. Conversation transcript that used for summarization evaluation as
a reference.
Corresponds to the JSON property messageEntries
18193 18194 18195 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18193 def end |
#metric_details ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail>
Output only. List of metric details.
Corresponds to the JSON property metricDetails
18198 18199 18200 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18198 def metric_details @metric_details end |
#section_tokens ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken>
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
18205 18206 18207 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18205 def section_tokens @section_tokens end |
#summary_sections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection>
Output only. Summary sections that used for summarization evaluation as a
reference.
Corresponds to the JSON property summarySections
18211 18212 18213 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18211 def summary_sections @summary_sections end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18218 18219 18220 18221 18222 18223 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18218 def update!(**args) = 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 |