Class: Google::Cloud::AIPlatform::V1::QuestionAnsweringRelevanceInstance

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 question answering relevance instance.

Instance Attribute Summary collapse

Instance Attribute Details

#context::String

Returns Optional. Text provided as context to answer the question.

Returns:

  • (::String)

    Optional. Text provided as context to answer the question.



961
962
963
964
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 961

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

#instruction::String

Returns Required. The question asked and other instruction in the inference prompt.

Returns:

  • (::String)

    Required. The question asked and other instruction in the inference prompt.



961
962
963
964
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 961

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

#prediction::String

Returns Required. Output of the evaluated model.

Returns:

  • (::String)

    Required. Output of the evaluated model.



961
962
963
964
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 961

class QuestionAnsweringRelevanceInstance
  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.



961
962
963
964
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 961

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