INNER CODE UNIT · Python
root
ai-infra-curriculum/ai-infra-engineer-learning · projects/project-103-llm-deployment/src/api/main.py:208
async def root():
"""
Root endpoint.
Returns basic API information.
"""
return {
"name": "LLM Deployment Platform",
"version": "1.0.0",
"status": "running"
}
@app.get("/health", response_model=HealthResponse)
async def health_check():
"""
Health check endpoint.