Class: Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb

Overview

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

Defined Under Namespace

Classes: MetricDetail

Instance Attribute Summary collapse

Instance Attribute Details

#message_entries::Array<::Google::Cloud::Dialogflow::V2::MessageEntry> (readonly)

Returns Output only. Conversation transcript that used for summarization evaluation as a reference.

Returns:



336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 336

class ConversationDetail
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Aggregated result on metric level. This conatins the evaluation results
  # of all the sections.
  # @!attribute [r] metric
  #   @return [::String]
  #     Output only. Metrics name. e.g. accuracy, adherence, completeness.
  # @!attribute [r] score
  #   @return [::Float]
  #     Output only. Aggregated(average) score on this metric across all
  #     sections.
  # @!attribute [r] section_details
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail::MetricDetail::SectionDetail>]
  #     Output only. List of section details.
  class MetricDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Section level result.
    # @!attribute [r] section
    #   @return [::String]
    #     Output only. The name of the summary instruction.
    # @!attribute [r] score
    #   @return [::Float]
    #     Output only. Aggregated(average) score on this section across all
    #     evaluation results. Either decompositions or rubrics.
    # @!attribute [r] section_summary
    #   @return [::String]
    #     Output only. Summary for this section
    # @!attribute [r] evaluation_results
    #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::EvaluationResult>]
    #     Output only. List of evaluation result. The list only contains one
    #     kind of the evaluation result.
    class SectionDetail
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#metric_details::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail::MetricDetail> (readonly)

Returns Output only. List of metric details.



336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 336

class ConversationDetail
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Aggregated result on metric level. This conatins the evaluation results
  # of all the sections.
  # @!attribute [r] metric
  #   @return [::String]
  #     Output only. Metrics name. e.g. accuracy, adherence, completeness.
  # @!attribute [r] score
  #   @return [::Float]
  #     Output only. Aggregated(average) score on this metric across all
  #     sections.
  # @!attribute [r] section_details
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail::MetricDetail::SectionDetail>]
  #     Output only. List of section details.
  class MetricDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Section level result.
    # @!attribute [r] section
    #   @return [::String]
    #     Output only. The name of the summary instruction.
    # @!attribute [r] score
    #   @return [::Float]
    #     Output only. Aggregated(average) score on this section across all
    #     evaluation results. Either decompositions or rubrics.
    # @!attribute [r] section_summary
    #   @return [::String]
    #     Output only. Summary for this section
    # @!attribute [r] evaluation_results
    #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::EvaluationResult>]
    #     Output only. List of evaluation result. The list only contains one
    #     kind of the evaluation result.
    class SectionDetail
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#section_tokens::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::SectionToken> (readonly)

Returns 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.

Returns:



336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 336

class ConversationDetail
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Aggregated result on metric level. This conatins the evaluation results
  # of all the sections.
  # @!attribute [r] metric
  #   @return [::String]
  #     Output only. Metrics name. e.g. accuracy, adherence, completeness.
  # @!attribute [r] score
  #   @return [::Float]
  #     Output only. Aggregated(average) score on this metric across all
  #     sections.
  # @!attribute [r] section_details
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail::MetricDetail::SectionDetail>]
  #     Output only. List of section details.
  class MetricDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Section level result.
    # @!attribute [r] section
    #   @return [::String]
    #     Output only. The name of the summary instruction.
    # @!attribute [r] score
    #   @return [::Float]
    #     Output only. Aggregated(average) score on this section across all
    #     evaluation results. Either decompositions or rubrics.
    # @!attribute [r] section_summary
    #   @return [::String]
    #     Output only. Summary for this section
    # @!attribute [r] evaluation_results
    #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::EvaluationResult>]
    #     Output only. List of evaluation result. The list only contains one
    #     kind of the evaluation result.
    class SectionDetail
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#summary_sections::Array<::Google::Cloud::Dialogflow::V2::SummarySuggestion::SummarySection> (readonly)

Returns Output only. Summary sections that used for summarization evaluation as a reference.

Returns:



336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 336

class ConversationDetail
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Aggregated result on metric level. This conatins the evaluation results
  # of all the sections.
  # @!attribute [r] metric
  #   @return [::String]
  #     Output only. Metrics name. e.g. accuracy, adherence, completeness.
  # @!attribute [r] score
  #   @return [::Float]
  #     Output only. Aggregated(average) score on this metric across all
  #     sections.
  # @!attribute [r] section_details
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::ConversationDetail::MetricDetail::SectionDetail>]
  #     Output only. List of section details.
  class MetricDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Section level result.
    # @!attribute [r] section
    #   @return [::String]
    #     Output only. The name of the summary instruction.
    # @!attribute [r] score
    #   @return [::Float]
    #     Output only. Aggregated(average) score on this section across all
    #     evaluation results. Either decompositions or rubrics.
    # @!attribute [r] section_summary
    #   @return [::String]
    #     Output only. Summary for this section
    # @!attribute [r] evaluation_results
    #   @return [::Array<::Google::Cloud::Dialogflow::V2::SummarizationEvaluationMetrics::EvaluationResult>]
    #     Output only. List of evaluation result. The list only contains one
    #     kind of the evaluation result.
    class SectionDetail
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end