Add stream dashboard ingestion
This commit is contained in:
@@ -35,6 +35,24 @@ class ChatMessage(Base):
|
||||
is_moderator = Column(Boolean, default=False)
|
||||
|
||||
|
||||
class StreamDashboard(Base):
|
||||
"""Stores the approved stream dashboard for a session."""
|
||||
|
||||
__tablename__ = "stream_dashboards"
|
||||
|
||||
session_id = Column(String, primary_key=True)
|
||||
raw_markdown = Column(Text, nullable=False)
|
||||
stream_title = Column(String, nullable=True)
|
||||
game = Column(String, nullable=True)
|
||||
mood = Column(String, nullable=True)
|
||||
go_live_notification = Column(Text, nullable=True)
|
||||
social_post = Column(Text, nullable=True)
|
||||
session_goals = Column(Text, nullable=True) # JSON array of strings
|
||||
content_angle = Column(Text, nullable=True)
|
||||
created_at = Column(DateTime, default=datetime.utcnow, nullable=False)
|
||||
updated_at = Column(DateTime, default=datetime.utcnow, nullable=False)
|
||||
|
||||
|
||||
class AgentActionType(str, Enum):
|
||||
"""Types of actions the agent can take."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user