
WEEK 2
Prompting, Structured Outputs & Tool Calling
Reads requests, classifies and routes them.

Course Details
WHAT YOU'LL LEARN
System prompt design & few-shot patterns
Strict output schemas with Pydantic
Function / tool calling end to end
Choosing the right model & provider
Classification & routing logic
Topics Covered
Pydantic v2
OpenAI Function Calling
Anthropic Tool Use
FastAPI
Project 2
TicketStream · ReviewRouter
Project Details
a bot that reads incoming requests, classifies their type and urgency using structured output, and routes each one automatically via tool calls, the pattern behind real helpdesk systems.
Project Results
Built an AI-powered ticket routing system using FastAPI, Pydantic v2, and LLM function calling. The application classifies incoming support requests, generates structured outputs, determines priority and category, and automatically routes each ticket to the appropriate workflow using tool calling, replicating the core behaviour of modern helpdesk systems.





