Coding task · Python course · Module 10: AI and Language Models

FastAPI + LLM

Create a FastAPI endpoint with LLM integration.

Task

Implement a /chat endpoint that accepts a message and returns an AI response.