GroundedGenerationContent(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Base structured datatype containing multi-part content of a message.
Attributes |
|
---|---|
Name | Description |
role |
str
Producer of the content. Must be either user or
model .
Intended to be used for multi-turn conversations. Otherwise,
it can be left unset.
|
parts |
MutableSequence[google.cloud.discoveryengine_v1beta.types.GroundedGenerationContent.Part]
Ordered Parts that constitute a single message.
|
Classes
Part
Part(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Single part of content.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields