Google Business Messages cessera de fonctionner le 31 juillet 2024. Pour en savoir plus,
cliquez ici.
Answer
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Contenu d'une réponse aux questions fréquentes.
Représentation JSON |
{
"faqQuestion": string,
"faqAnswer": string,
"matchConfidenceLevel": enum (MatchConfidenceLevel ),
"matchConfidence": number
} |
Champs |
faqQuestion |
string
Question de type FAQ, si la réponse a été extraite d'un document de questions fréquentes.
|
faqAnswer |
string
Texte, issu d'une base de connaissances configurée, qui répond à la question de l'utilisateur.
|
matchConfidenceLevel |
enum (MatchConfidenceLevel )
Niveau de confiance selon lequel cette réponse correspond bien à la question de l'utilisateur.
|
matchConfidence |
number
Score de confiance indiquant que cette réponse correspond bien à la question de l'utilisateur. La plage est comprise entre 0.0 (complètement incertain) et 1.0 (complètement certain).
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eA FAQ answer contains the question, answer, confidence level, and confidence score.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003efaqQuestion\u003c/code\u003e and \u003ccode\u003efaqAnswer\u003c/code\u003e fields store the question and its corresponding answer as strings.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ematchConfidenceLevel\u003c/code\u003e is an enum representing the system's confidence in the answer's relevance to the question.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ematchConfidence\u003c/code\u003e provides a numerical score (0.0-1.0) indicating the certainty of the answer being a good match.\u003c/p\u003e\n"]]],[],null,["# Answer\n\nThe content of an FAQ answer.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"faqQuestion\": string, \"faqAnswer\": string, \"matchConfidenceLevel\": enum (/business-communications/business-messages/reference/rest/v1/MatchConfidenceLevel), \"matchConfidence\": number } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `faqQuestion` | `string` The FAQ question, if the answer was extracted from an FAQ document. |\n| `faqAnswer` | `string` The text, from a configured knowledge base, that answers the user's question. |\n| `matchConfidenceLevel` | `enum (`[MatchConfidenceLevel](/business-communications/business-messages/reference/rest/v1/MatchConfidenceLevel)`)` The confidence level that this answer is a good match for the user's question. |\n| `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). |"]]