Class QuestionAnsweringCorrectnessInstance (1.49.0)

QuestionAnsweringCorrectnessInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

NameDescription
prediction str
Required. Output of the evaluated model. This field is a member of oneof_ _prediction.
reference str
Optional. Ground truth used to compare against the prediction. This field is a member of oneof_ _reference.
context str
Optional. Text provided as context to answer the question. This field is a member of oneof_ _context.
instruction str
Required. The question asked and other instruction in the inference prompt. This field is a member of oneof_ _instruction.

Methods

QuestionAnsweringCorrectnessInstance

QuestionAnsweringCorrectnessInstance(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)