Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagContextRecallSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagContextRecallSpec
- 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 metric.
Instance Attribute Summary collapse
-
#version ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagContextRecallSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1RagContextRecallSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagContextRecallSpec
Returns a new instance of GoogleCloudAiplatformV1beta1RagContextRecallSpec.
21264 21265 21266 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ Fixnum
Optional. Which version to use for evaluation.
Corresponds to the JSON property version
21262 21263 21264 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21262 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21269 21270 21271 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21269 def update!(**args) @version = args[:version] if args.key?(:version) end |