Class QuestionAnsweringQualityInstance (1.49.0)

QuestionAnsweringQualityInstance(
    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
Required. Text to answer the question. This field is a member of oneof_ _context.
instruction str
Required. Question Answering prompt for LLM. This field is a member of oneof_ _instruction.

Methods

QuestionAnsweringQualityInstance

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