Answer

  • A FAQ answer contains the question, answer, confidence level, and confidence score.

  • faqQuestion and faqAnswer fields store the question and its corresponding answer as strings.

  • matchConfidenceLevel is an enum representing the system's confidence in the answer's relevance to the question.

  • matchConfidence provides a numerical score (0.0-1.0) indicating the certainty of the answer being a good match.

The content of an FAQ answer.

JSON representation
{
  "faqQuestion": string,
  "faqAnswer": string,
  "matchConfidenceLevel": enum (MatchConfidenceLevel),
  "matchConfidence": number
}
Fields
faqQuestion

string

The FAQ question, if the answer was extracted from an FAQ document.

faqAnswer

string

The text, from a configured knowledge base, that answers the user's question.

matchConfidenceLevel

enum (MatchConfidenceLevel)

The confidence level that this answer is a good match for the user's question.

matchConfidence

number

The confidence score that this answer is a good match for the user's question.

The range is from 0.0 (completely uncertain) to 1.0 (completely certain).