Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagContextRecallResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagContextRecallResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Spec for rag context recall result.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Output only.
-
#explanation ⇒ String
Output only.
-
#score ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagContextRecallResult
constructor
A new instance of GoogleCloudAiplatformV1beta1RagContextRecallResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagContextRecallResult
Returns a new instance of GoogleCloudAiplatformV1beta1RagContextRecallResult.
21243 21244 21245 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Output only. Confidence for rag context recall score.
Corresponds to the JSON property confidence
21231 21232 21233 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21231 def confidence @confidence end |
#explanation ⇒ String
Output only. Explanation for rag context recall score.
Corresponds to the JSON property explanation
21236 21237 21238 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21236 def explanation @explanation end |
#score ⇒ Float
Output only. RagContextRecall score.
Corresponds to the JSON property score
21241 21242 21243 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21241 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21248 21249 21250 21251 21252 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21248 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @explanation = args[:explanation] if args.key?(:explanation) @score = args[:score] if args.key?(:score) end |