Full-stack Amazon AI Transcreation Platform with: - FastAPI backend (async, PostgreSQL, Redis, Celery) with 11 DB tables - JWT auth (SSO-ready abstract provider pattern) - 6-agent pipeline orchestrator with deterministic modules - Next.js 14 frontend with Amazon branding (Ember fonts, orange/dark theme) - Job wizard, monitoring HUD, output review, admin screens - 154 TM/reference files imported, 12 locales configured - Docker Compose for all services Agents 2-5 (TM retrieval, ranker, transcreator, compliance) are stubs pending Phase 3 LLM integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
927 B
Python
46 lines
927 B
Python
from datetime import datetime
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from app.models.files import ReferenceFileType
|
|
|
|
|
|
class TMFileResponse(BaseModel):
|
|
id: UUID
|
|
client_id: UUID
|
|
locale_code: str
|
|
channel: str
|
|
filename: str
|
|
file_path: str
|
|
segment_count: int
|
|
uploaded_by: UUID | None = None
|
|
uploaded_at: datetime
|
|
last_updated_at: datetime
|
|
version: int
|
|
|
|
model_config = {"from_attributes": True}
|
|
|
|
|
|
class ReferenceFileResponse(BaseModel):
|
|
id: UUID
|
|
client_id: UUID
|
|
file_type: ReferenceFileType
|
|
locale_scope: str
|
|
filename: str
|
|
file_path: str
|
|
uploaded_by: UUID | None = None
|
|
uploaded_at: datetime
|
|
last_updated_at: datetime
|
|
version: int
|
|
|
|
model_config = {"from_attributes": True}
|
|
|
|
|
|
class FileUploadResponse(BaseModel):
|
|
id: UUID
|
|
filename: str
|
|
file_path: str
|
|
message: str
|
|
|
|
model_config = {"from_attributes": True}
|