- Step 10: Extended file upload for Excel/CSV/images/URLs (openpyxl, trafilatura) - Step 11: Content intelligence service with rule-based + LLM classification - Step 12: Slide mapping engine mapping content blocks to master deck layouts - Step 13: Chart data extractor, native PPTX chart service (bar/line/pie/gantt/waterfall), ChartDataEditor skeleton Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
354 B
Python
11 lines
354 B
Python
from typing import List, Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class DecomposedFileInfo(BaseModel):
|
|
name: str
|
|
file_path: str
|
|
file_type: str = "text" # "text" | "table" | "image"
|
|
table_data: Optional[List[dict]] = None # Serialized TableData for spreadsheets
|
|
image_info: Optional[dict] = None # Serialized ImageInfo for images
|