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>
27 lines
542 B
Python
27 lines
542 B
Python
from datetime import datetime
|
|
from uuid import UUID
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from app.models.feedback import FlagType
|
|
|
|
|
|
class FeedbackCreate(BaseModel):
|
|
output_id: UUID
|
|
option_column: int
|
|
flag_type: FlagType
|
|
comment: str | None = None
|
|
|
|
model_config = {"from_attributes": True}
|
|
|
|
|
|
class FeedbackResponse(BaseModel):
|
|
id: UUID
|
|
output_id: UUID
|
|
user_id: UUID
|
|
option_column: int
|
|
flag_type: FlagType
|
|
comment: str | None = None
|
|
created_at: datetime
|
|
|
|
model_config = {"from_attributes": True}
|