WEEK 2

Prompting, Structured Outputs & Tool Calling

Reads requests, classifies and routes them.

Course Details

WHAT YOU'LL LEARN

  1. System prompt design & few-shot patterns

  1. Strict output schemas with Pydantic

  2. Function / tool calling end to end

  3. Choosing the right model & provider

  4. Classification & routing logic

Topics Covered

Pydantic v2

OpenAI Function Calling

Anthropic Tool Use

FastAPI

Project 2

TicketStream · ReviewRouter

a bunch of white and orange balls on top of each other
a bunch of white and orange balls on top of each other

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.

a black electronic device
a black electronic device
Finance book
Finance book