Chapter Topics#
The 23 chapters cover foundations, building and evaluation, integration and operations, and security, governance, and delivery. Chapters 1, 4, and 6 are the only foundation prerequisites. Chapter 23 supports the final project, which instructors introduce earlier through Appendix D.
Chapter |
Topics |
|---|---|
Components of an AI system; predictive AI, generative AI, and rule-based automation; levels of capability and autonomy; inference and human in the loop; application, integration, and infrastructure layers; AI in ERP, CRM, and ITSM; build, buy, or embed; builder, operator, and steward roles. |
|
Ingestion, transformation, and storage; batch and incremental pipelines; lineage; data profiling and cleaning; validation rules and schemas; parsing unstructured documents; chunking with metadata. Labeling guidelines, disagreement review, group/text split leakage, synthetic-label checks, and dataset manifests. |
|
Supervised learning with features and labels; text features such as TF-IDF; training, validation, and test splits; accuracy, precision, and recall; confusion matrices and overfitting; model versioning and serving; monitoring and retraining. |
|
Tokens and tokenization; context windows and token pricing; embeddings and attention; next-token prediction and hallucination; temperature and top-p; latency and streaming; reasoning models and inference-time compute. |
|
Parts of a prompt and message roles; zero-shot and few-shot prompting; delimiting input data; JSON output and JSON Schema; validating and repairing output; prompt templates under version control; prompt test cases. |
|
Real request and response shapes from two provider routes; stop reasons, usage fields, status codes, and error bodies; one retry policy with backoff, Retry-After, and deadlines; rate-limit headers and token buckets; adapters, gateways, and fallbacks; cost from a price table with cached tokens; scoped caches; streaming and time to first token; batch APIs; the assembled case model client with usage logging. |
|
Golden test sets and coverage; reference label agreement; classification and extraction metrics; rubrics and LLM judges; retrieval and faithfulness metrics; baselines and regression checks; A/B comparisons and variance. |
|
Embeddings and cosine similarity; choosing an embedding model; vector indexes and approximate nearest neighbor search; metadata filters; precision and recall at k; keyword and hybrid search. |
|
Why models need retrieval; indexing, retrieval, and generation; chunk size, top-k, and reranking; context budgets; citations to source chunks; faithfulness; refusing when sources do not answer. |
|
Function calling and tool schemas; argument validation; agent loops and ReAct; planning and memory; stopping conditions; the Model Context Protocol; least privilege, human approval, and audit logs. |
|
Text extraction, OCR, and visual interpretation; original-page evidence coordinates; transcript word error rate; critical product, quantity, and action fields; source reconciliation; exception review without posting. |
|
Adaptation method selection; reviewed example contracts and split leakage; dataset identity; paired candidate evaluation; critical slices and release evidence. |
|
Inline completion, chat assistants, and coding agents; typical strengths and failures; reviewing AI-generated code; unit tests with pytest; static checks; specifications and test-driven development; version control and accountability; coding agents inside a delivery workflow and its release gates. |
|
ERP, CRM, and ITSM records and their embedded AI features; buy, configure, or build; workflows as triggers, steps, and outcomes; confidence thresholds and human fallback queues; approval steps and audit design; workflows versus agents and the control steps an agent may not cross; synchronous, event-driven, and batch integration; idempotency, retries, and dependency failures. |
|
Bounded analyst tasks; interaction states and request identity; stale replies and manual recovery; versioned evidence review; exact approval scope; feedback and reviewed test proposals. |
|
Schema context for text-to-SQL; query generation as structured output; validating generated SQL with read-only limits; pgvector columns, distance operators, and indexes; hybrid similarity and relational queries; read-only roles and row-level security; parameterized queries and audit logs. |
|
GPUs and accelerators; memory, quantization, and batching; capacity estimates; provider APIs, cloud services, and self-hosting; open model licenses and lock-in; total cost of ownership and break-even; exit plans and infrastructure as code. |
|
Inference endpoints and handlers; online and batch inference; scaling, timeouts, and concurrency; Docker images and Compose; configuration and secrets; backend routing under a sensitivity policy; release pipelines with code, data, and AI regression gates, versioned artifacts, readiness checks, and rollback. |
|
Structured logs, traces, and metrics; latency percentiles, error rate, and refusal rate; service-level objectives; data drift and quality drift; provider-side model changes; alert thresholds; usage tracking and token cost; budgets and optimization levers. |
|
Threat models and attack surface; direct and indirect prompt injection; data leakage and excessive agency; OWASP Top 10 for LLM Applications and MITRE ATLAS; layered defenses, guardrails, and least privilege; red team test plans; attack success rate and retesting. |
|
Personal data in AI systems; data minimization; redaction and pseudonymization; data owners, stewards, and custodians; classification levels and retention; lineage and deletion; GDPR, state privacy laws, and vendor terms; EU AI Act risk tiers; compliance evidence. |
|
Sources of bias; group fairness metrics; threshold adjustment; global and local explanations; model cards and AI disclosure; human-in-the-loop and human-on-the-loop review; system ownership; AI incident response. |
|
Choosing and scoping a use case; requirements and feasibility for AI; pilot design and shadow mode; phased rollout and release gates; change management; KPIs and baselines; ROI and the post-implementation review. |
Appendix C: Running Case provides the common organizational context. Each chapter supplies its own inputs.