Compare commits

...

1 Commits

Author SHA1 Message Date
William Fu-Hinthorn
9b7cde5cc5 Union 2023-11-05 18:02:31 -08:00

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)