Home Files
Build With Claude Code · Session 3 Handout

Build your corpus

Talk your way to a rich, public-safe knowledge base, swap it into the same chatbot, and watch the answers get dramatically better. No code changes.

1. First, answer your questions out loud

Using Wispr Flow (hold a key, speak, clean text appears), talk through your questions into a blank doc. Aim for about 40 answers, 4 to 8 sentences each, with real names, numbers, and outcomes. Do not stop to fix typos; Claude Code cleans that up later.

Heads up on the free tier: Wispr Flow's free plan covers about 2,000 words a week, enough to set up and test. The full exercise is 6,000 to 10,000 spoken words, so use the Pro trial, or fall back to your computer's built-in dictation: on a Mac, turn on Dictation in System Settings → Keyboard; on Windows, press Win + H. Rougher text is fine. Claude Code cleans it up.
Open your 50 questionsWith a suggested core 30 if you are short on time.

2. The corpus prompt (copy this)

Your answers need to be a file in your website project (e.g. raw-answers.md). If you talked into a file in the project, you are done. If you used a Google Doc or Notes, drag the document into the project like you dragged in your resume PDF, or paste it all into Claude Code and say "save this as raw-answers.md." Then paste this:

I'm attaching raw-answers.md, a long, unedited transcript of me answering
recruiter-style questions out loud. Turn it into a clean knowledge base that
will power the chatbot on my site. Write it to api/corpus.md, replacing what's
there now.

Do this:
- Keep ONLY material that is safe to show on a public website. Remove anything
  private or sensitive: personal phone numbers, home address, salary numbers,
  anything about other people, anything I'd be uncomfortable a stranger reading.
- Stay 100% grounded in what I actually said. Do not invent facts, numbers,
  dates, or accomplishments. If something is unclear, leave it out rather than
  guessing.
- Organize it into clear sections: Snapshot, Experience, Skills, Projects,
  Education, Behavioral stories (in situation-action-result shape), and a short
  "How to reach me" note.
- Clean up the speaking (fix grammar, remove filler like "um" and "like" and
  repeated false starts) but keep my voice and my specifics (names, numbers,
  outcomes). Don't make it generic.
- After writing it, list anything you removed for privacy, and flag any spots
  where you weren't sure if something was public-safe, so I can decide.
Review what it removed. Read the privacy list and the flagged spots. Add anything back if it is actually public-safe. The bot will say whatever is in this file, so you are the final say on what a stranger can learn.

3. Delete the raw file, then swap it in

Your api/chat.js already reads api/corpus.md. You only replaced the file's contents, so all that is left is a redeploy, with one important move first:

Everything in your project folder gets deployed to your public site. The clean corpus should go live; your raw transcript must not. Once you have finished the privacy review, this one prompt handles both:
Delete raw-answers.md from the project, then redeploy my site so the chatbot
uses the new corpus.

Then test on your live site. Ask the deep questions the resume-only bot fumbled ("tell me about a time you led a team", "what's your proudest accomplishment"). The jump should be obvious.

4. Optional: an FAQ section

You already have great answers, so reuse a few on your site:

Pull 5 or 6 of the best questions and answers from api/corpus.md and add a
simple FAQ section to my site's About page. Keep the answers short.

5. Your checklist

Before you start: your Session 2 chatbot works on your live site, and Wispr Flow is installed (setup + dictation backups: wispr-flow-setup.md).

  1. Set up Wispr Flow. Install, grant mic access, learn the push-to-talk key, do a 10-second test.
  2. Open a doc to talk into and put your 50 questions beside it.
  3. Answer out loud. About 40 of the 50, 4 to 8 sentences each, real specifics, public-safe. Say the question number before each.
  4. Land at 20+ pages of raw answers. Messy is fine; that is the input.
  5. Drop the raw doc into your website project (e.g. raw-answers.md).
  6. Generate the corpus. Paste the corpus prompt above. It writes a clean, public-safe api/corpus.md.
  7. Review what it removed. Read the privacy list and flagged spots. You decide what is public.
  8. Delete the raw doc. Ask Claude Code to delete raw-answers.md. Everything in the project folder gets deployed, and your raw transcript must not go live with the site.
  9. Redeploy so the bot uses the new corpus.
  10. Test the upgrade. Ask the deep questions the old bot couldn't handle. Notice the jump.
  11. (Optional) Add an FAQ section to your site from the best Q&As.
Done when: your chatbot answers behavioral and "tell me about yourself" questions with real, specific, you-sounding stories, and there is nothing private in the corpus.

From here: pick a project of your own, build it with Claude Code, and link it from your site.