GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PointwiseMetricInstance (google_api_ai_platform v0.27.0)
View SourcePointwise metric instance. Usually one instance corresponds to one row in an evaluation dataset.
Attributes
-
contentMapInstance
(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ContentMap.t
, default:nil
) - Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content. -
jsonInstance
(type:String.t
, default:nil
) - Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PointwiseMetricInstance{ contentMapInstance: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ContentMap.t() | nil, jsonInstance: String.t() | nil }