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>
23 lines
663 B
Python
23 lines
663 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
"""Application settings loaded from environment variables."""
|
|
|
|
DATABASE_URL: str = "postgresql+asyncpg://transcreation:transcreation@db:5432/transcreation"
|
|
REDIS_URL: str = "redis://redis:6379/0"
|
|
ANTHROPIC_API_KEY: str = ""
|
|
JWT_SECRET_KEY: str = "CHANGE_ME_TO_A_RANDOM_SECRET"
|
|
JWT_ALGORITHM: str = "HS256"
|
|
JWT_EXPIRY_HOURS: int = 8
|
|
STORAGE_ROOT: str = "/storage"
|
|
LLM_MODEL: str = "claude-sonnet-4-20250514"
|
|
|
|
model_config = {
|
|
"env_file": ".env",
|
|
"env_file_encoding": "utf-8",
|
|
"extra": "ignore",
|
|
}
|
|
|
|
|
|
settings = Settings()
|