Class SessionOutput (0.3.0)

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

Output for the session.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
text str
Output text from the CES agent. This field is a member of oneof_ output_type.
audio bytes
Output audio from the CES agent. This field is a member of oneof_ output_type.
tool_calls google.cloud.ces_v1beta.types.ToolCalls
Request for the client to execute the tools. This field is a member of oneof_ output_type.
citations google.cloud.ces_v1beta.types.Citations
Citations that provide the source information for the agent's generated text. This field is a member of oneof_ output_type.
google_search_suggestions google.cloud.ces_v1beta.types.GoogleSearchSuggestions
The suggestions returned from Google Search as a result of invoking the GoogleSearchTool. This field is a member of oneof_ output_type.
end_session google.cloud.ces_v1beta.types.EndSession
Indicates the session has ended. This field is a member of oneof_ output_type.
payload google.protobuf.struct_pb2.Struct
Custom payload with structured output from the CES agent. This field is a member of oneof_ output_type.
turn_index int
Indicates the sequential order of conversation turn to which this output belongs to, starting from 1.
turn_completed bool
If true, the CES agent has detected the end of the current conversation turn and will provide no further output for this turn.
diagnostic_info google.cloud.ces_v1beta.types.SessionOutput.DiagnosticInfo
Optional. Diagnostic information contains execution details during the processing of the input. Only populated in the last SessionOutput (with turn_completed=true) for each turn.

Classes

DiagnosticInfo

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

Contains execution details during the processing.