View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInstance (google_api_ai_platform v0.24.0)
Spec for question answering correctness instance.
Attributes
-
context(type:String.t, default:nil) - Optional. Text provided as context to answer the question. -
instruction(type:String.t, default:nil) - Required. The question asked and other instruction in the inference prompt. -
prediction(type:String.t, default:nil) - Required. Output of the evaluated model. -
reference(type:String.t, default:nil) - Optional. Ground truth used to compare against the prediction.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.