Class: Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::QuestionAnsweringHelpfulnessInstance
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb
Overview
Spec for question answering helpfulness instance.
Instance Attribute Summary collapse
-
#context ⇒ ::String
Optional.
-
#instruction ⇒ ::String
Required.
-
#prediction ⇒ ::String
Required.
-
#reference ⇒ ::String
Optional.
Instance Attribute Details
#context ⇒ ::String
Returns Optional. Text provided as context to answer the question.
1019 1020 1021 1022 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1019 class QuestionAnsweringHelpfulnessInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#instruction ⇒ ::String
Returns Required. The question asked and other instruction in the inference prompt.
1019 1020 1021 1022 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1019 class QuestionAnsweringHelpfulnessInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#prediction ⇒ ::String
Returns Required. Output of the evaluated model.
1019 1020 1021 1022 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1019 class QuestionAnsweringHelpfulnessInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reference ⇒ ::String
Returns Optional. Ground truth used to compare against the prediction.
1019 1020 1021 1022 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 1019 class QuestionAnsweringHelpfulnessInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |