Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Learning path

Add AI to a working product

Build a reliable model client, measure retrieval, and connect both in a grounded assistant with a reproducible demo.

Intermediate· 6 stages· About 35–55 hours (estimate)

What you will be able to make

A grounded assistant that answers from your documents, cites its sources and has a measured retrieval report.

Before you start

  • You have written or changed application code and can run a small Python program.
  • You can install dependencies, use Git, and call a JSON API; revisit the foundation lessons if these are new.
  • Use a computer for coding practice. The mock model keeps the core work offline and free of API charges.

Stages and checkpoints

  1. Stage 1

    Call an LLM reliably

    Read a model request, budget its context, and build a client you can test without an API key.

    6 of 6 available · 0 ready

    Checkpoint

    A labelled set of at least 50 synthetic tickets and a model client with offline failure-handling tests.

    • Validate every ticket against the schema.
    • Tests cover timeouts, rate limits and bounded retries.
    • Run the tests with the mock model and no API key.
  2. Stage 2

    Compare prompts on real inputs

    Use a labelled set to compare two prompts and serve validated responses within a budget.

    5 of 5 available · 0 ready

    Checkpoint

    A ticket classification endpoint and a prompt comparison with accuracy, latency and token usage.

    • Use the same labelled inputs for both prompts.
    • Explain at least two misclassifications.
    • Document the model or mock used; a paid hosted comparison is optional.
  3. Stage 3

    Measure retrieval

    Chunk a document collection, build a search baseline and compare configurations before generating answers.

    5 of 5 available · 0 ready

    Checkpoint

    A reproducible retrieval benchmark with labelled queries and a configuration comparison table.

    • Keep document IDs and query labels stable across runs.
    • Report precision@k and recall@k for the same query set.
    • Trace at least three retrieval failures to a concrete cause.
  4. Stage 4

    Ship a grounded assistant

    Connect retrieval to generation and return answers with sources and an explicit abstention path.

    5 of 5 available · 0 ready

    Checkpoint

    A local assistant endpoint that returns grounded answers and source references for a licensed document collection.

    • Document the intended questions and what is out of scope.
    • Inspect the retrieved source for each example answer.
    • Show how the assistant responds when the sources do not support an answer.
  5. Stage 5

    Evaluate and hand over

    Measure the assistant, document its operating limits and make a demo another person can reproduce.

    4 of 4 available · 0 ready

    Checkpoint

    An evaluation report, operations README and reproducible assistant demo.

    • Keep the held-out evaluation set separate from prompt tuning.
    • Record limitations, latency and cost assumptions.
    • Reproduce the demo using only the README and the documented mock or model setup.
  6. Stage 6Optional

    Harden the app and control cost

    Optional: test untrusted inputs and compare cost controls against your evaluation baseline.

    3 of 3 available · 0 ready

    Checkpoint

    A threat model and cost comparison tied to the same assistant evaluation set.

    • Test prompt injection and document the limits of each defence.
    • Compare token usage before and after one cost control.
    • Check that the change does not regress the chosen quality measures.