answerRelevance property

String? answerRelevance
getter/setter pair

Whether or not the suggested answer is relevant.

For example: * Query: "Can I change my mailing address?" * Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date." * answer_relevance: AnswerRelevance.IRRELEVANT

Optional. Possible string values are:

  • "ANSWER_RELEVANCE_UNSPECIFIED" : Answer relevance unspecified.
  • "IRRELEVANT" : Answer is irrelevant to query.
  • "RELEVANT" : Answer is relevant to query.

Implementation

core.String? answerRelevance;