Guided project · Building with AI

Build a document Q&A assistant (RAG, no code)

Build an assistant that answers questions from your own documents with citations, then test it like a RAG engineer.

About 60 minBeginnerNo coding needed
0 of 7 steps done

What you'll build

A working document assistant and an evaluation table scoring its answers.

What you'll learn

  • How retrieval and citations work in RAG
  • Testing grounding and "I don't know" answers
  • Why document quality and chunking matter

You'll need

Google NotebookLM (free with a Google account) and public documents

Create a free account to unlock this project

The step-by-step instructions, copy-ready prompts, progress tracker and portfolio texts are for members. It's free, takes under a minute, and unlocks all guided projects.

Want to try first? These projects are open to everyone: Prompt lab and One idea, five posts.

Before you start

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Step by step

  1. Create a notebook

    Open NotebookLM and click Create new.

    You should see: An empty notebook asking for sources.

  2. Add your sources

    Upload your PDFs (or paste website links).

    You should see: Your documents listed on the left, with an automatic summary.

  3. Write 8 test questions

    Before asking anything, write: 5 questions the documents answer, 2 they don't answer, and 1 that needs facts from two documents.

    You should see: A test set, the backbone of every RAG evaluation.

  4. Ask and check citations

    Ask each question. Click the numbered citations to see the exact passage used.

    You should see: Answers with clickable references to the source text.

  5. Score each answer

    Make a table: question, correct (yes/no), cited the right passage (yes/no), admitted not knowing when it should (yes/no).

    You should see: A score such as 7 out of 8, and a note on any failure.

  6. Break it on purpose

    Add an unrelated document (e.g. a recipe) and ask your questions again.

    You should see: Mostly still correct, because retrieval picks relevant passages. Note any confusion.

  7. Compare with no RAG

    Ask an ordinary AI chatbot two of your questions without giving it the documents.

    You should see: Vaguer or wrong answers with no sources. That's the value of retrieval.

Level up

  • Upload a long, messy scanned PDF and see how quality changes.
  • Use the notebook's audio or study-guide features and judge their accuracy.

Lessons behind this project

Show it off

Finished? Post about it on LinkedIn. Here's a starting point; add a screenshot and your own words.

Copy this post
I built a document Q&A assistant with citations and tested it with 8 questions, including ones it shouldn't be able to answer. A hands-on way to understand RAG. Learned with AI From Zero.
Share on LinkedIn

Add it to your portfolio

Employers love seeing what you've built. Use these ready-made texts, then add your own results and a screenshot.

1. A line for your CV or LinkedIn "Projects" section

Copy for your CV
Build a document Q&A assistant (RAG, no code): A working document assistant and an evaluation table scoring its answers. Skills: How retrieval and citations work in RAG, Testing grounding and "I don't know" answers, Why document quality and chunking matter. Tools: Google NotebookLM (free with a Google account) and public documents.

2. A README for GitHub

Create a free GitHub account, make a new repository, add a file called README.md and paste this in along with screenshots of your work.

Copy README.md
# Build a document Q&A assistant (RAG, no code)

Build an assistant that answers questions from your own documents with citations, then test it like a RAG engineer.

## What I built
A working document assistant and an evaluation table scoring its answers.

## What I learned
- How retrieval and citations work in RAG
- Testing grounding and "I don't know" answers
- Why document quality and chunking matter

## Tools
Google NotebookLM (free with a Google account) and public documents

## How it works
1. Create a notebook
2. Add your sources
3. Write 8 test questions
4. Ask and check citations
5. Score each answer
6. Break it on purpose
7. Compare with no RAG

## Results
(Add a screenshot and 2–3 sentences about what you found. Never include API keys or personal data.)

## Next steps
- Upload a long, messy scanned PDF and see how quality changes.
- Use the notebook's audio or study-guide features and judge their accuracy.

---
Built by following the free guided project at https://learnaifromzero.com/projects/document-qa-rag.html