Class: Google::Cloud::AIPlatform::V1::PairwiseQuestionAnsweringQualityInstance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb

Overview

Spec for pairwise question answering quality instance.

Instance Attribute Summary collapse

Instance Attribute Details

#baseline_prediction::String

Returns Required. Output of the baseline model.

Returns:

  • (::String)

    Required. Output of the baseline model.



917
918
919
920
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 917

class PairwiseQuestionAnsweringQualityInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#context::String

Returns Required. Text to answer the question.

Returns:

  • (::String)

    Required. Text to answer the question.



917
918
919
920
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 917

class PairwiseQuestionAnsweringQualityInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#instruction::String

Returns Required. Question Answering prompt for LLM.

Returns:

  • (::String)

    Required. Question Answering prompt for LLM.



917
918
919
920
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 917

class PairwiseQuestionAnsweringQualityInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#prediction::String

Returns Required. Output of the candidate model.

Returns:

  • (::String)

    Required. Output of the candidate model.



917
918
919
920
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 917

class PairwiseQuestionAnsweringQualityInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#reference::String

Returns Optional. Ground truth used to compare against the prediction.

Returns:

  • (::String)

    Optional. Ground truth used to compare against the prediction.



917
918
919
920
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 917

class PairwiseQuestionAnsweringQualityInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end