Class: Google::Cloud::AIPlatform::V1::QuestionAnsweringQualityInstance
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::QuestionAnsweringQualityInstance
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb
Overview
Spec for question answering quality instance.
Instance Attribute Summary collapse
-
#context ⇒ ::String
Required.
-
#instruction ⇒ ::String
Required.
-
#prediction ⇒ ::String
Required.
-
#reference ⇒ ::String
Optional.
Instance Attribute Details
#context ⇒ ::String
Returns Required. Text to answer the question.
856 857 858 859 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 856 class QuestionAnsweringQualityInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#instruction ⇒ ::String
Returns Required. Question Answering prompt for LLM.
856 857 858 859 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 856 class QuestionAnsweringQualityInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#prediction ⇒ ::String
Returns Required. Output of the evaluated model.
856 857 858 859 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 856 class QuestionAnsweringQualityInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#reference ⇒ ::String
Returns Optional. Ground truth used to compare against the prediction.
856 857 858 859 |
# File 'proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb', line 856 class QuestionAnsweringQualityInstance include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |