Build a text summarization API service
With an AI assistant available, build a small production-style web service with FastAPI: POST /summarize takes JSON {"text": ...} and returns {"summary": ...}. Add input validation, sensible errors, tests and a short explanation of how you would run it in production.
No answer yet. Write the first one; the best answer gets endorsed.
