View source on GitHub |
The base unit of structured text.
A Message
includes an author
and the content
of the
Message
.
The author
is used to tag messages when they are fed to the
model as text.
Attributes | |
---|---|
author
|
str
Optional. The author of this Message. This serves as a key for tagging the content of this Message when it is fed to the model as text. The author can be any alphanumeric string. |
content
|
str
Required. The text content of the structured |
citation_metadata
|
google.ai.generativelanguage.CitationMetadata
Output only. Citation information for model-generated
If this |