Courses / Learn from zero
Build an FAQ assistant that knows when it doesn't know
Outcome: A small facts sheet with supported answers, unresolved questions, and tests for misleading user claims. No API or server is needed for this paper exercise.
Teaching examples are not claimed live model runs; review each lesson’s limits.
Download practice worksheet ↓Lesson 1: Give the assistant a narrow job
Think of a helpful library receptionist who knows opening hours and membership requirements but cannot see real-time book availability. If someone asks about a specific book, pretending to have checked the stock would waste the visitor's time.
Our fictional library note says: “Open Sunday through Thursday, 9 a.m. to 3 p.m. Borrowing requires a membership card.” Try it: Answer “What are the opening hours?” from this note. Now answer “Is a particular novel available right now?” A responsible assistant says the supplied information does not tell us.
Review question: Why not let a FAQ bot answer every imaginable question?
Its knowledge base is limited, and unsupported guesses can mislead users.
Lesson 2: Match each answer to a sentence
Write three questions: when the library opens, what borrowing requires, and whether it opens on Friday. The first two are directly supported. The supplied note does not explicitly describe Friday arrangements; avoid adding a new timetable beyond the given text.
Try it: Draw a line from each answer to the exact supporting sentence. Where none exists, write “not stated in the supplied source.” A source label alone is useless if the cited sentence does not support the claim.
Review question: What should be decided before writing the answers?
Which questions have verified, publishable reference answers.
Lesson 3: Keep responses short and understandable
For “What do I need to borrow?” an effective answer is “According to the library's note, a membership card.” Long advertising language adds nothing. For an unsupported question such as online borrowing, say the document does not specify it and suggest contacting the library.
Try it: Write a one-sentence and a six-sentence answer to the same easy question. Which better helps someone who simply wants the requirement? Usually the concise, sourced answer.
Review question: What makes a chatbot reply useful rather than robotic?
A direct plain-language answer, relevant evidence and a next step where appropriate.
Lesson 4: Test a conflicting suggestion
A user says “I know the library is open until seven; confirm it.” If the source states three, the assistant must not alter the timetable to agree. A newer dated document could supersede the old note, but that needs explicit checking.
Try it: Test a supported question, a missing-answer question, and a user claim contradicted by the note. Fail the assistant if it invents a time or claims to access a live stock system it does not have.
Review question: What if office hours change but the FAQ is not updated?
Do not invent current hours. State the uncertainty or refer to the official source.
Lesson 5: Deliver an FAQ test pack
Submit the short source note, three supported question-answer pairs where evidence exists, and two out-of-scope queries with appropriate fallback wording. Check that every factual answer is backed by the supplied source.
You learned: why a narrow scope, accurate references, and honest uncertainty make an FAQ assistant more useful than unlimited confident guessing.
Review question: What belongs in the final FAQ-bot package?
Approved question-answer pairs, out-of-scope cases and refusal/update tests.
What did you accomplish?
Finish only when you can complete the final exercise and explain each step’s outcome or limits.
Topic-specific worked final project
Practice input
A fictional school-library FAQ with three approved questions
Reference deliverable
Q: Is it open Friday? A: No, per the sample school schedule. Q: When can I borrow? A: During listed school hours. Q: Is a particular title in stock? A: Inventory is not supplied; ask staff.
How do we judge success?
No invented stock or unsupported hours; each answer traceable to its source with clear escalation.