Class Message (0.3.0)

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

A message within a conversation.

Attributes

Name Description
role str
Optional. The role within the conversation, e.g., user, agent.
chunks MutableSequence[google.cloud.ces_v1.types.Chunk]
Optional. Content of the message as a series of chunks.
event_time google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.