GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PointwiseMetricSpec (google_api_ai_platform v0.27.0)
View SourceSpec for pointwise metric.
Attributes
-
customOutputFormatConfig(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CustomOutputFormatConfig.t, default:nil) - Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, thescoreandexplanationfields in the corresponding metric result will be empty. -
metricPromptTemplate(type:String.t, default:nil) - Required. Metric prompt template for pointwise metric. -
systemInstruction(type:String.t, default:nil) - Optional. System instructions for pointwise metric.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PointwiseMetricSpec{ customOutputFormatConfig: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1CustomOutputFormatConfig.t() | nil, metricPromptTemplate: String.t() | nil, systemInstruction: String.t() | nil }