Represents a suggestion for a human agent.
| JSON representation |
|---|
{ "name": string, "articles": [ { object ( |
| Fields | |
|---|---|
name |
Output only. The name of this suggestion. Format: |
articles[] |
Output only. Articles ordered by score in descending order. |
faqAnswers[] |
Output only. Answers extracted from FAQ documents. |
createTime |
Output only. The time the suggestion was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
latestMessage |
Output only. Latest message used as context to compile this suggestion. Format: |
Represents suggested article.
| JSON representation |
|---|
{ "title": string, "uri": string, "snippets": [ string ], "metadata": { string: string, ... }, "answerRecord": string } |
titlestring
Output only. The article title.
uristring
Output only. The article URI.
snippets[]string
Output only. Article snippets.
metadatamap (key: string, value: string)
Output only. A map that contains metadata about the answer and the document from which it originates.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
answerRecordstring
Represents suggested answer from "frequently asked questions".
| JSON representation |
|---|
{ "answer": string, "confidence": number, "question": string, "source": string, "metadata": { string: string, ... }, "answerRecord": string } |
answerstring
Output only. The piece of text from the source knowledge base document.
confidencenumber
The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
questionstring
Output only. The corresponding FAQ question.
sourcestring
Output only. Indicates which Knowledge Document this answer was extracted from. Format: projects/<Project ID>/locations/<Location
ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
metadatamap (key: string, value: string)
Output only. A map that contains metadata about the answer and the document from which it originates.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
answerRecordstring
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-21 UTC.