Bases: BaseModel
A base class for message parameters.
Usage Documentation
Prompts
Attributes:
Name |
Type |
Description |
role |
str
|
The role of the message (e.g. "system", "user", "assistant")
|
content |
str | list[TextPart | ImagePart | AudioPart | CacheControlPart]
|
The content of the message
|