Answer

  • The JSON representation of an FAQ answer includes the question, answer, and confidence levels.

  • The faqQuestion field holds the text of the FAQ question if available.

  • The faqAnswer field contains the text providing the answer from a knowledge base.

  • matchConfidenceLevel indicates the confidence level that the answer matches the user's question.

  • matchConfidence is a numerical score representing the confidence in the answer match, ranging from 0.0 to 1.0.

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).