beginner pathway
Local AI, Evidence Search, and Introductory RAG
Learn how grounded answers differ from unsupported model guesses.
What you will learn
- Search a trusted resource set
- Read citations before trusting answers
- Recognize degraded AI states
Download course manifest
1. Evidence First, Then Answer
Prerequisites
Objectives
- Define a claim
- Find a source
- Separate source text from synthesis
A grounded answer is built from inspectable evidence. The source can still be wrong, incomplete, or outdated, so the answer should show citations and uncertainty instead of hiding the basis.
Worked example
Question: What command prints the current directory? Evidence: a shell manual entry. Synthesis: pwd prints the working directory.
Exercise
Write one question that requires a source and one that is just a personal preference.
Assessment
What should an answer do when it lacks evidence?
Reveal worked answer after your attempt
The honest response is to say evidence is missing or uncertainty remains.
Sources
2. Simple Retrieval for Source Finding
Prerequisites
Objectives
- Use keywords
- Inspect result titles
- Prefer primary sources
Retrieval starts with finding candidate passages. Lexical search matches words directly. Hybrid retrieval can add embeddings and reranking, but access control and source review still matter.
Worked example
A search for 'Path.read_text Python' should prefer official Python documentation over copied snippets.
Exercise
Search this site for read_text and name the course and lesson that mention it.
Assessment
Is a search result automatically proof?
Reveal worked answer after your attempt
Search results are leads. Inspect the source before relying on the claim.
Sources
- Python pathlib documentation — Python Software Foundation; Python Software Foundation License Version 2; examples additionally 0BSD; source review: VERIFIED
3. Mini Project: Cited Answer Card
Prerequisites
Objectives
- Ask a grounded question
- Show citations
- Export what you learned
Retrieval-augmented generation is useful only when users can inspect what was retrieved and understand what the model added. A beginner can start with a deterministic cited answer card before using any model.
Worked example
Ask: How do I count words in a local file? Cite the Python pathlib lesson and state that the code reads local text and splits words.
Exercise
Use Ask AI on this site for a course question, then export or copy the cited answer summary.
Assessment
What is one private boundary for public Ask AI?
Reveal worked answer after your attempt
Public interfaces must not expose engineering tools or another user's private data.
Sources
Final mini-project
Create a cited answer card from local course evidence and explain its uncertainty.
Project rubric
- Each factual claim maps to a relevant cited passage
- The card distinguishes supported claims from uncertainty
- Unsupported or conflicting evidence produces an explicit abstention or limitation
Use these criteria for self-review. Independent verification is still required before claiming mastery.