diff --git a/promptulate/schema.py b/promptulate/schema.py index 6c6adba0..2c587f05 100644 --- a/promptulate/schema.py +++ b/promptulate/schema.py @@ -24,6 +24,7 @@ class BaseMessage(BaseModel): content: str additional_kwargs: dict = Field(default_factory=dict) + created_at: datetime = Field(default_factory=datetime.now) @property @abstractmethod