Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions mmv1/products/dialogflow/Generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,51 @@ properties:
required: true
description: |
Required. Summary text for the section.
- name: toolCallInfo
type: Array
description: |
List of request and response for tool calls executed.
item_type:
type: NestedObject
properties:
- name: toolCall
type: NestedObject
required: true
description: |
Request for a tool call.
properties:
- name: tool
type: String
description: |
The tool associated with this call.
- name: action
type: String
description: |
The name of the tool's action associated with this call.
- name: toolCallResult
type: NestedObject
required: true
description: |
Response for a tool call.
properties:
- name: action
type: String
description: |
The name of the tool's action associated with this call.
- name: error
type: NestedObject
description: |
An error produced by the tool call.
properties:
- name: message
type: String
description: |
The error message of the function.
- name: retryable
type: Boolean
send_empty_value: true
description: |
Specifies whether the tool call is retryable.
- name: summarizationSectionList
type: NestedObject
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,19 @@ resource "google_dialogflow_generator" "summarization_generator" {
summary = "John"
}
}
tool_call_info {
tool_call {
tool = "projects/example-project/locations/global/tools/initial-tool"
action = "initialAction"
}
tool_call_result {
action = "initialAction"
error {
message = "test error"
retryable = true
}
}
}
}
summarization_section_list {
summarization_sections {
Expand Down Expand Up @@ -172,6 +185,19 @@ resource "google_dialogflow_generator" "summarization_generator" {
summary = "Jeff"
}
}
tool_call_info {
tool_call {
tool = "projects/example-project/locations/global/tools/updated-tool"
action = "updatedAction"
}
tool_call_result {
action = "updatedAction"
error {
message = "updated error"
retryable = false
}
}
}
}
summarization_section_list {
summarization_sections {
Expand Down
Loading