Class AssistantChunk (0.7.4)

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

A chunk of data in an assistant message.

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
Optional. Text data. This field is a member of oneof_ data.
thought str
Optional. Thought generated by the model. This field is a member of oneof_ data.
payload google.protobuf.struct_pb2.Struct
Optional. Payload which contains structured responses like the quality report, agent version name, suggested responses etc. This field is a member of oneof_ data.
typed_payload google.cloud.ces_v1beta.types.TypedPayload
Optional. Typed payload which contains structured responses. This field is a member of oneof_ data.
create_time google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp when the chunk was created or emitted.