By Team Edtoolkits · AI learning
Keep filenames, pages and source numbers visible before asking a separate model to answer.
Use the guide alongside the working tool.
Open Chat with Your PDFs: A Simple RAG App →Explore the lesson
Embed your saved chunks and store them in the local database.
Write a script that searches, builds a prompt with sources and asks your local model.
Ask questions and check the cited pages.
A comparison to try
Add two invented excerpts and compare an answerable question with one absent from them. Inspect the generated labels and instruction to acknowledge missing information.
Read the result
The model receives selected excerpts rather than every PDF automatically. References support tracing a claim, while the refusal instruction states what should happen when evidence is missing.
A mistake to avoid
This page builds text and does not read PDFs or run a model. Verify generated citations against the passage; its character-based token count is only approximate.
Teaching model and privacy
A written tutorial: nothing here runs a model in your browser. The prompt builder is a teaching copy of the script's prompt, working on text you type. You need a local model runner from the setup lessons; its address and model name may differ on your computer. Commands change as tools update, so check each project's official documentation if one fails.
Ready to apply this workflow?
Try Chat with Your PDFs: A Simple RAG App →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.