Spaces:
Sleeping
Sleeping
File size: 401 Bytes
71773fd |
1 2 3 4 5 6 7 8 9 10 |
from pydantic import BaseModel, Field
from typing import Optional
class AgentState(BaseModel):
audio_path: str
transcribed_text: Optional[str] = None
news_report: Optional[str] = None
feedback: Optional[str] = Field(default=None, description="Feedback from the human for revision")
approved: bool = Field(default=False, description="Has the human approved the summary?")
|