我们将于 2024 年 7 月 31 日逐步淘汰 Google Business Messages。点击
此处了解详情。
Answer
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"faqQuestion": string,
"faqAnswer": string,
"matchConfidenceLevel": enum (MatchConfidenceLevel ),
"matchConfidence": number
} |
字段 |
faqQuestion |
string
常见问题解答问题(如果答案是从常见问题解答文档中提取的)。
|
faqAnswer |
string
已配置的知识库中用于回答用户问题的文本。
|
matchConfidenceLevel |
enum (MatchConfidenceLevel )
此答案与用户问题非常匹配的置信度。
|
matchConfidence |
number
此答案与用户问题非常匹配的置信度分数。 范围是 0.0(完全不确定)到 1.0(完全确定)。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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). |"]]