The base structured datatype containing multi-part content of a
message.
A Content includes a role field designating the producer of
the Content and a parts field containing multi-part data
that contains the content of the message turn.
Attributes
Name
Description
role
str
Optional. The producer of the content. Must
be either 'user' or 'model'.
Useful to set for multi-turn conversations,
otherwise can be left blank or unset.
The base structured datatype containing multi-part content of a
message.
A Content includes a role field designating the producer of
the Content and a parts field containing multi-part data
that contains the content of the message turn.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-12 UTC."],[],[]]