Represents a companion suggestion answer.
| JSON representation |
|---|
{
"guidances": [
{
object ( |
| Fields | |
|---|---|
guidances[] |
List of guidances generated by the Companion Agent. |
Guidance
Represents guidance for companion suggestion.
| JSON representation |
|---|
{ "suggestedReply": string, "suggestedAction": string, "instructionSource": { object ( |
| Fields | |
|---|---|
suggestedReply |
Suggested reply for the agent to respond to the customer. |
suggestedAction |
Suggested action to human agent. For example, "Ask the customer for their shipping address" or "Create a new case for the customer". |
instructionSource |
Guidance instruction source. |
knowledgeSources[] |
Knowledge sources. |
explanation |
Optional. A brief explanation of why the action is suggested. |
toolCalls[] |
Optional. Rich structured tool calls and their associated citations delivered directly as suggestions. |
triggeringToolCallAnswerRecords[] |
Optional. The AnswerRecords of the tool calls that triggered this guidance. Format: |
groundingMetadata |
Optional. Grounding metadata for the generated guidance. |
KnowledgeSource
Represents a knowledge source for the guidance.
| JSON representation |
|---|
{ "knowledgeArticleUrl": string, "knowledgeArticleTitle": string, "knowledgeSnippet": string } |
| Fields | |
|---|---|
knowledgeArticleUrl |
URL of the knowledge article. |
knowledgeArticleTitle |
Knowledge article title. |
knowledgeSnippet |
Knowledge snippet. |