from typing import Optional

from pydantic import BaseModel


class SourceMetadata(BaseModel):
    filename: str
    upload_date: str
    content_summary: str
    chunk_index: int
    page_number: Optional[int] = None
    chunk_file_path: Optional[str] = None
