Know why your knowledge bot gets things wrong, and fix it
A plain-English guide to retrieval-augmented generation, with a working system and real results from every experiment.
- See exactly what reaches the AI model, and why answers go wrong
- Keep out-of-date and restricted documents out of every answer
- Set a 'not covered' threshold from your own test questions
- Measure every version by kind of question, and catch regressions
RAG and Company Knowledge Bots, Explained · Bodhih AI Skills · 04 by Bodhih Training, trainers to 2,000+ companies since 2008.
You already know the problem. Here is what it costs you.
Picture yourself a few weeks from now.
Imagine opening any wrong answer and seeing exactly which passages caused it.
Picture a test report that shows no restricted document reached any answer.
You'll know what your bot does when nothing in the documents fits.
And you'll prove each version is better before anyone relies on it.
Chapter by chapter
Every chapter starts with a real situation, gives you a method, and ends with something to do today.
- Format
- Licensed PDF e-book, stamped with your name, plus a companion pack (ZIP)
- Length
- 16 chapters and 6 appendices
- Reading time
- About 5 hours, plus optional practice
- Includes
- A working RAG system, 16 practice documents in two versions, a 48-question test set, real answer sheets, a scoring script, templates, 15 prompts, checklists, a 12-question lab, a 30-term glossary and end-of-Part quizzes
- Edition
- November 2026, next review May 2027
- Publisher
- Bodhih Training
What a Company Knowledge Bot Is
What bots do, why models need retrieval, and good and poor jobs.
How RAG Works, Step by Step
One real question through filtering, search, reranking, prompt and answer.
Buy, Configure or Build
Four routes, six deciding questions and what to ask suppliers.
Planning a Knowledge Bot
The one-page plan, a five-part test set, owners and success measures.
Preparing Documents and Chunking
Metadata, headings and a real test of five chunking methods.
Search: Keywords, Meaning and Hybrid
BM25, embeddings, reciprocal rank fusion and paraphrased questions.
Reranking and Retrieval Failures
Cross-encoders, near misses and knowledge gaps.
Metadata, Freshness and Permissions
Keeping old and restricted documents out, filtering before search.
Knowing When to Say 'Not Covered'
Score thresholds, the trade-off and useful declines.
Prompts, Citations and Answer Rules
Rules, examples and checks that catch changed numbers.
Evaluating a Knowledge Bot
Scoring by kind of question and sorting failures.
The Fix-and-Retest Loop
Regressions, false alarms and launch decisions.
Security: Injection, Poisoning and Leaks
A planted-text test and controls that don't rely on the model.
Launching and Measuring in Use
Pilots, logs, declines as a to-do list and a monthly routine.
Keeping Knowledge Current
Owners, review dates, versions, re-indexing and contradictions.
Costs, Scale and Governance
Cost drivers, scaling, bot registers and five governance rules.
Not just reading. Tools you will actually use.
Understanding RAG
- What knowledge bots are
- How RAG works
- Buy, configure or build
- Planning and test sets
Finding passages
- Chunking
- Hybrid search
- Reranking
- Filters and permissions
Trustworthy answers
- Not-covered thresholds
- Citations and rules
- Evaluation
- Fix and retest
Running a bot
- Security
- Launch and measurement
- Keeping current
- Costs and governance
When you finish, you will be able to…
Every outcome is practised in the book through worked examples and a short exercise.
- Explain RAG step by step in plain language
- Plan a bot and write a five-part test set
- Choose chunking and search methods by testing them
- Keep superseded and restricted content out of answers
- Set and defend a not-covered threshold
- Write answer rules with citations and checks
- Evaluate versions and catch regressions
- Secure, launch and maintain a knowledge bot
A taste of Chapter 8
Without filters, Meridian's old returns policy reached the model for 13 questions, and was the top source for 3.
The honest comparison
| Typical advice | This book | |
|---|---|---|
| Explanations | Jargon and diagrams | Plain English, one real question followed through every step |
| Evidence | Claims and anecdotes | Real experiments on a working system, every output included |
| Honesty | A bot that works perfectly | Real failures, regressions and a launch decision |
| Safety | A paragraph on security | Permission filters, planted-text test and controls |
| After launch | Not covered | Monthly routine, freshness and governance |
| Currency | Out of date | Platform facts checked in November 2026 |
Made for you if…
- Knowledge and content managers
- IT, digital and data teams
- Customer service and operations managers
- HR and policy owners
- Consultants and analysts advising on AI
- Anyone choosing or overseeing a company AI assistant
Probably not for you if…
- Researchers looking for model training methods
- Readers wanting one product's button-by-button manual
- Anyone looking for a bot that needs no testing
Written by trainers, tested in real rooms.
Bodhih Training has designed and delivered corporate programmes since 2008 for leadership teams, new managers, sales and service teams, and whole organisations. The Bodhih Professional Playbooks distil what works in those workshops into books you can use on a Tuesday morning, without a facilitator in the room.
Reading in two minutes from now
- STEP 1
Tap Buy now
Name, email and country. Pay by UPI, card or netbanking (India) or international card. No account to create.
- STEP 2
Download instantly
Your download page opens at once, and a permanent link lands in your inbox.
- STEP 3
Start with Chapter 1
Read on your phone tonight, or on your commute tomorrow. Do the first "Do this today" exercise and notice the difference.
Trustworthy answers start with twenty real questions.
Download the guide and companion pack, write your test questions first, and measure every version of your bot against them.
Single-user licence stamped with your name. Team licences with volume discounts are available at checkout.
Keep growing with the Bodhih family
Applied AI certification pathways
Certification pathways in applied AI, workplace English and management, with SCORM courses and assessed capstones.
More Bodhih e-books
Practical, research-backed e-books for work and life, updated every six months.
Bodhih.org
Certification pathways in Applied AI, Workplace English and management.
AssessAll
Measure your skills with AI-graded assessments and verified credentials.
Jobulary
Turn what you learn into an individual development plan that stays yours.
Pewple
Book a vetted coach for career, leadership or communication. Pay per session.
Bodhih Training
Run this book as a workshop for your team, in person or live online.
What buyers say
No ratings yet. Only people who have bought this e-book can rate it - every buyer gets a one-click rating link a couple of days after their purchase.
Do I need to be a programmer?
No. Every idea is explained in words, tables and diagrams, and each chapter shows the real results. The companion pack's Python code is optional, for readers who want to run the experiments.
Are the results in the book real?
Yes. Every result was produced by running the companion pack's code on its fictional Meridian knowledge base and 48 test questions, with open models on a laptop. The pack includes a file of every output.
Which AI model does the book use?
Search uses the open all-MiniLM-L6-v2 embedding model and an open reranker. Answers come from Qwen2.5-1.5B-Instruct, a small open model. Its mistakes show what your checks need to catch with any model.
Does it cover Microsoft, Amazon and other platforms?
Yes, as options. Chapter 3 compares built-in assistant features, enterprise knowledge products, managed cloud services such as Azure AI Search and Amazon Bedrock Knowledge Bases, and your own build, with dated facts.
How is it different from the custom AI assistant book?
Build Your Own Custom AI Assistant shows how to configure assistants on the main platforms. This book explains what happens inside retrieval, and how to measure and fix it.
Does the book show a bot that works perfectly?
No. It shows an honest build: version 2 improved citations from 4 to 20 of 30 correct answers but didn't meet the launch standard, and the book explains why and what comes next.
Does it cover security?
Yes. Chapter 13 covers prompt injection, poisoned content and leaks, with a real planted-text test and controls that don't rely on the model obeying instructions.
What's in the companion pack?
The Meridian knowledge base in two versions, a 48-question test set, the full pipeline, one script per experiment, real answer sheets, a scoring script, a document scanner, templates, 15 prompts and checklists.
Can I run the code on my own documents?
Yes. The pipeline reads Markdown files with a short metadata header, so you can test it on your own non-confidential documents and questions.
Is Meridian a real company?
No. Meridian Care Supplies, its documents and its people are fictional, and the people in the book are composites.
Can my team share one copy?
Each copy is licensed to one named person. Team licences with volume discounts are available at checkout.
How much does RAG and Company Knowledge Bots, Explained cost?
₹799 including 18% GST for buyers in India, or $19.99 for buyers outside India. One-time payment, no subscription, with an automatic invoice.
How do I get the e-book after paying?
Instantly. Your download page opens the moment payment succeeds, and a permanent download link is emailed to you. The PDF works on phones, tablets, Kindle (via Send to Kindle), laptops and in print.
Can I get a refund?
Because it is a digital download, e-books are not refundable once downloaded. We always refund a duplicate charge or a failed delivery, and if a file is corrupted and we cannot fix it within 3 working days. Full terms: bodhih.org/refunds.
Can my company buy copies for a team?
Yes. Team and company licences, and workshops based on the book run by Bodhih Training, are available. Write to solutions@bodhih.com or call +91 99000 11601.





