Message
¶
Source code in docs_src/capo_context/types/message.py
role
instance-attribute
¶
role: MessageRole
The role of the participant that produced this turn. Valid values:
-
USER- The user asked or said this turn. -
ASSISTANT- The assistant answered in this turn.