fastapi 1 Architecting Reliable LLM Microservices Service Layer Design Patterns for GenAI APIs Oct 8, 2025