- JSON representation
- FreeFormSuggestion
- SummarySuggestion
- SummarySection
- ToolCallInfo
- ToolCall
- ToolCallResult
- Error
Suggestion generated using a Generator.
JSON representation |
---|
{ "toolCallInfo" : [ { object ( |
toolCallInfo[]
object (
ToolCallInfo
)
Optional. List of request and response for tool calls executed.
suggestion
. The suggestion could be one of the many types suggestion
can be only one of the following:freeFormSuggestion
object (
FreeFormSuggestion
)
Optional. Free form suggestion.
summarySuggestion
object (
SummarySuggestion
)
Optional. Suggested summary.
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. |
SummarySection
A component of the generated summary.
JSON representation |
---|
{ "section" : string , "summary" : string } |
Fields | |
---|---|
section
|
Required. Name of the section. |
summary
|
Required. Summary text for the section. |
ToolCallInfo
Request and response for a tool call.
JSON representation |
---|
{ "toolCall" : { object ( |
Fields | |
---|---|
toolCall
|
Required. Request for a tool call. |
toolCallResult
|
Required. Response for a tool call. |
ToolCall
Represents a call of a specific tool's action with the specified inputs.
JSON representation |
---|
{ "tool" : string , "action" : string , "inputParameters" : { object } , "createTime" : string } |
Fields | |
---|---|
tool
|
Optional. The |
action
|
Optional. The name of the tool's action associated with this call. |
inputParameters
|
Optional. The action's input parameters. |
createTime
|
Output only. Create time of the tool call. 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: |
ToolCallResult
The result of calling a tool's action.
JSON representation |
---|
{ "tool" : string , "action" : string , "createTime" : string , // Union field |
tool
string
Optional. The tool
associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>
.
action
string
Optional. The name of the tool's action associated with this call.
createTime
string (
Timestamp
format)
Output only. Create time of the tool call result.
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: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
result
. The tool call's result. result
can be only one of the following:error
object (
Error
)
The tool call's error.
rawContent
string ( bytes
format)
Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded).
A base64-encoded string.
content
string
Only populated if the response content is utf-8 encoded.
Error
An error produced by the tool call.
JSON representation |
---|
{ "message" : string } |
Fields |
---|