Class ReactiveModeResponse (2.52.0)

ReactiveModeResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The complete response generated by the reactive mode capturing the entire accumulated streaming response, grounding metadata, and tool calls.

Attributes

Name Description
response str
Optional. The full reactive suggestion generated by the Companion Agent. After the last streaming chunk is sent, this is the final response concatenating all the streaming response chunks together to represent the full reactive suggestion.
grounding_metadata google.cloud.dialogflow_v2.types.GroundingMetadata
Optional. Grounding metadata for the generated response.
tool_calls MutableSequence[google.cloud.dialogflow_v2.types.ToolCallSuggestion]
Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.