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

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 result on metric level. This conatins the evaluation results of all the sections.

Defined Under Namespace

Classes: SectionDetail

Instance Attribute Summary collapse

Instance Attribute Details

#metric::String (readonly)

Returns Output only. Metrics name. e.g. accuracy, adherence, completeness.

Returns:

  • (::String)

    Output only. Metrics name. e.g. accuracy, adherence, completeness.



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 352

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

#score::Float (readonly)

Returns Output only. Aggregated(average) score on this metric across all sections.

Returns:

  • (::Float)

    Output only. Aggregated(average) score on this metric across all sections.



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 352

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

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

Returns Output only. List of section details.



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb', line 352

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