Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LossAnalysisConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LossAnalysisConfig
- 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
Configuration for the loss analysis job.
Instance Attribute Summary collapse
-
#candidate ⇒ String
Required.
-
#metric ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LossAnalysisConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1LossAnalysisConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1LossAnalysisConfig
Returns a new instance of GoogleCloudAiplatformV1beta1LossAnalysisConfig.
24997 24998 24999 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidate ⇒ String
Required. The candidate model/agent to analyze (e.g., "gemini-3.0-pro"). This
targets the specific CandidateResult within the EvaluationResult.
Corresponds to the JSON property candidate
24988 24989 24990 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24988 def candidate @candidate end |
#metric ⇒ String
Required. The metric to analyze (e.g., "tool_use_quality"). This filters the
EvaluationItems in the EvalSet to only those where EvaluationResult.metric
matches this value.
Corresponds to the JSON property metric
24995 24996 24997 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24995 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25002 25003 25004 25005 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25002 def update!(**args) @candidate = args[:candidate] if args.key?(:candidate) @metric = args[:metric] if args.key?(:metric) end |