Artificial Intelligence — Level 3: Build Your Own Applications
ARTIFICIAL INTELLIGENCE — LEVEL 3
Build Your Own Applications
Documents, APIs, Evidence, and Evaluation
Bring your Python skills together in a complete application you can understand and improve.
Take the next step from individual programs to an application with documents, a local browser interface, validation, and tests.
In this practical guide, Juan Coss leads you through the design of a document-based library assistant. You will learn how its components work together: loading information, finding relevant passages, displaying quotations with source references, handling failures, and checking results.
The project includes a local retrieval mode and an optional API integration path, helping you understand what each approach adds and how to evaluate its limitations.
What you will learn
- Prepare small text documents and divide them into traceable passages.
- Retrieve information and display quotations with clear source references.
- Build command-line and local browser interfaces.
- Validate structured output and handle missing evidence.
- Understand API requests, configuration, keys, and error handling.
- Record attempts in SQLite and apply a persistent local attempt limit.
- Evaluate retrieval and responses using supplied test cases.
- Recognize what must change before a local demonstration can become a service for real users.
Your download includes
- A 63-page English PDF eBook with 20 complete chapters.
- A companion ZIP with the complete Python application, automated test suite, and evaluation script.
- Sample documents and six evaluation cases.
- Practical workshops and worked solutions.
- The full project code printed in the book’s appendix.
- Setup instructions, test reports, and the complete editable manuscript.
Who is this book for?
Readers who understand Python functions, dictionaries, and files and want to combine those skills into a larger project. The foundations taught in Level 2 provide a useful starting point.
Requirements
Python 3.12 or later and a computer for running the exercises. Local mode requires no external packages or paid AI service. Optional API mode requires your own compatible model access and API key; provider usage charges may apply.
The included application is an educational project for local practice.
Build it, test it, understand its decisions, and use what you learn to plan your next application.
Format: PDF eBook + downloadable ZIP project materials
Language: English
Author: Juan Coss · Juan Coss Digital Library
Digital product. No physical item will be shipped.