- JSON representation
- FreeFormSuggestion
- SummarySuggestion
- AgentCoachingSuggestion
- AgentActionSuggestion
- Sources
- DuplicateCheckResult
- DuplicateSuggestion
- SampleResponse
Suggestion generated using a Generator.
| JSON representation |
|---|
{ "toolCallInfo": [ { object ( |
| Fields | |
|---|---|
toolCallInfo[] |
Optional. List of request and response for tool calls executed. |
| The suggestion could be one of the many types The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
freeFormSuggestion |
Optional. Free form suggestion. |
summarySuggestion |
Optional. Suggested summary. |
agentCoachingSuggestion |
Optional. Suggestion to coach the agent. |
| End of mutually exclusive fields. | |
FreeFormSuggestion
Suggestion generated using free form generator.
| JSON representation |
|---|
{ "response": string } |
| Fields | |
|---|---|
response |
Required. Free form suggestion. |
SummarySuggestion
Suggested summary of the conversation.
| JSON representation |
|---|
{
"summarySections": [
{
object ( |
| Fields | |
|---|---|
summarySections[] |
Required. All the parts of generated summary. |
AgentCoachingSuggestion
Suggestion for coaching agents.
| JSON representation |
|---|
{ "applicableInstructions": [ { object ( |
| Fields | |
|---|---|
applicableInstructions[] |
Optional. Instructions applicable based on the current context. |
agentActionSuggestions[] |
Optional. Suggested actions for the agent to take. |
sampleResponses[] |
Optional. Sample response for the Agent. |
AgentActionSuggestion
Actions suggested for the agent. This is based on applicable instructions.
| JSON representation |
|---|
{ "agentAction": string, "sources": { object ( |
| Fields | |
|---|---|
agentAction |
Optional. The suggested action for the agent. |
sources |
Output only. Sources for the agent action suggestion. |
duplicateCheckResult |
Output only. Duplicate check result for the agent action suggestion. |
Sources
Sources for the suggestion.
| JSON representation |
|---|
{ "instructionIndexes": [ integer ] } |
| Fields | |
|---|---|
instructionIndexes[] |
Output only. Source instruction indexes for the suggestion. This is the index of the applicableInstructions field. |
DuplicateCheckResult
Duplication check for the suggestion.
| JSON representation |
|---|
{
"duplicateSuggestions": [
{
object ( |
| Fields | |
|---|---|
duplicateSuggestions[] |
Output only. The duplicate suggestions. |
DuplicateSuggestion
The duplicate suggestion details. Keeping answerRecord and sources together as they are identifiers for duplicate suggestions.
| JSON representation |
|---|
{
"answerRecord": string,
"sources": {
object ( |
| Fields | |
|---|---|
answerRecord |
Output only. The answer record id of the past duplicate suggestion. |
sources |
Output only. Sources for the suggestion. |
suggestionIndex |
Output only. The index of the duplicate suggestion in the past suggestion list. |
similarityScore |
Output only. The similarity score of between the past and current suggestion. |
SampleResponse
Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.
| JSON representation |
|---|
{ "responseText": string, "sources": { object ( |
| Fields | |
|---|---|
responseText |
Optional. Sample response for Agent in text. |
sources |
Output only. Sources for the Sample Response. |
duplicateCheckResult |
Output only. Duplicate check result for the sample response. |