By the end of this week you can
- Name the three blind spots of a bare model and the tool that fixes each
- Explain how tool calling works — and who actually runs the tool
- Describe the RAG pipeline and check an answer against its citations
- Tell short-term from long-term memory and what each means for privacy
Part 1
Three blind spots of a bare model
Its knowledge stops at training. It can't know yesterday's news — but may still answer as if it does.
It predicts digits instead of computing them. 48,213 × 7,689 often comes out wrong.
Each new conversation starts empty unless the app saves and re-supplies what matters.
Part 2
How tool calling works
Part 3
RAG: an open-book exam for AI
Retrieval-augmented generation finds the most relevant passages in trusted documents, hands them to the model, and asks it to answer only from them, with citations.
Split documents into passages and store them for searching.
Find the passages most similar in meaning to the question.
Answer from those passages only — or say "not in the sources".
Real systems compare meaning, not just words: text is turned into lists of numbers (embeddings) so "Can I get my money back?" matches a passage titled "Refunds". This demo uses simple word overlap so you can see the scoring; the developer lab uses real embeddings.
Part 4
Memory: short-term and long-term
The conversation so far, re-sent with every message. Limited in size; gone when the chat ends.
Facts the app saves (your name, preferences) and loads into later chats. Useful — and personal data with privacy duties.
Lab A · No code
Ground an AI in a real document
NotebookLM and the Lakeview AI policy
NotebookLM answers only from sources you give it and shows citations. You'll test it with questions you can check — including ones the document can't answer.
- Get the source
Open the Lakeview AI Use Policy and copy its text.
- Create a notebook
In NotebookLM, create a notebook and add the text as a Copied text source.
- Ask three answerable questionsCan a 12-year-old use the AI assistant at home? What must students include when they hand in work that used AI? Can AI be used to decide a student's grade?Expect: supervised lessons only under 13 · an AI-use statement · no. Click each citation and check the quoted passage.
- Ask one it can't answer
What is the policy on students using AI to compose music?The document doesn't cover this. Does it say so, or invent an answer? - Compare with no sources
Ask the same first question to a general chatbot with no document. What changes?
Memory Bot experiment
Find out what an assistant actually remembers — within a chat, and across chats.
- Share four facts
Tell an assistant four made-up facts (a name, a subject, a hobby, a project). Never use real personal details.
- Test recall in the same chat
Ask it to list all four.
- Open a new chat
Ask what it knows about you. If it has a memory feature, check its settings: can you see and delete what it stored?
Lab B · For developers
Production RAG and memory in Python
Tools, RAG, MCP and memory
Index the Lakeview corpus in ChromaDB, compare BM25, dense, hybrid and reranked retrieval with recall@k and MRR, build cited answers with abstention, serve the corpus over MCP, and add long-term memory with erasure.
- Chunking and ChromaDB
- Hybrid search and reranking, measured
- Cited, abstaining answers
- MCP server and memory lifecycle
Citations are a promise you can check
A citation lets anyone verify an answer in seconds — so check them, especially when the answer matters. And treat memory as personal data: an assistant that remembers you should let you see, correct, and delete what it stored.