This commit is contained in:
William Fu-Hinthorn
2023-11-05 18:02:31 -08:00
parent 60d025b83b
commit 9b7cde5cc5

View File

@@ -64,7 +64,7 @@ class BaseMessage(Serializable):
Messages are the inputs and outputs of ChatModels.
"""
content: str
content: Union[str, List[Dict[str, Any]]]
"""The string contents of the message."""
additional_kwargs: dict = Field(default_factory=dict)