Waboxa
  • Industry
  • Pricing
  • Portfolio
Log inStart Free Trial
  1. Blog
  2. Product

Inside Waboxa: how the knowledge base grounds every AI reply

"The AI answers from your documents" is a sentence every platform in this category prints. This is what it means here, step by step, including the part where it tells you which document it used.

RBRishi BansalAI Engineer14 April 20268 min read
Source cited

Upload and extraction

A document arrives as a PDF, DOCX, text file or a URL. The first job is turning it into clean text — and this is where naive implementations lose most of their accuracy, because a pricing table flattened into a run-on line is worse than useless.

Waboxa converts documents to structured Markdown so tables stay tables and scanned pages are read rather than skipped, with a local extractor as a fallback when that service is unavailable.

Chunking and indexing

The text is split into overlapping passages and each is embedded into a vector index. The overlap matters: a policy that spans a paragraph break should not be findable only by half of itself.

Every stored passage carries the workspace and the business it belongs to, and every search filters on both. Isolation is a property of the query, not a promise in a settings page.

Retrieval, before generation

When a customer asks something, the question is embedded and the closest passages are retrieved first. Only then is the model asked to write, with those passages in front of it.

The order is the whole point. A model asked to answer and then check itself will confabulate; a model handed the relevant paragraph and asked to answer from it will mostly quote it.

The citation

The documents a reply drew on are written onto the message at the moment it is sent, and shown under the reply in the inbox.

They are recorded rather than recomputed later on purpose. Retrieval depends on the index as it stood at that moment, so re-running the search after a document was edited would answer a different question than the one the customer actually got.

This is what makes a wrong answer fixable. Without the citation, 'the AI said something incorrect' is an unanswerable complaint. With it, you know which file to open.

When to use a curated answer instead

Retrieval is the right tool for open questions. For the twenty things customers ask constantly, a human-approved answer is better — faster, exact, and incapable of inventing a price.

Sending those as a tappable list has a second benefit: the tap tells you which question the customer chose, from a list, inside their own conversation. That is a stronger intent signal than any page view.

All articlesProduct

On this page

  • Upload and extraction
  • Chunking and indexing
  • Retrieval, before generation
  • The citation
  • When to use a curated answer instead

Keep reading

Related articles

All articles →
Source cited
Guides

How to set up the WhatsApp Cloud API in 2026

Meta Business verification, number registration and your first delivered message — a walkthrough you can finish in an afternoon.

KMKavya Menon17 June 2026
11 min read
Sales

WhatsApp lead qualification: from conversation to conversion

Most WhatsApp enquiries are never qualified because nobody has time to read them. Here is how to make the reading automatic.

ARAditya Raghav10 June 2026
8 min read
Guides

Message templates: getting approved by Meta the first time

Why templates get rejected, what reviewers are actually checking, and how to write one that clears review on the first submission.

KMKavya Menon2 June 2026
6 min read

Get product updates in your inbox

Product updates, WhatsApp insights, automation tips and more — from the team building Waboxa.

Start FreeBook Demo

Ready to grow on WhatsApp?

Connect your number and let the AI handle the first reply.

Start free trial
Waboxa

An AI-powered WhatsApp CRM: one shared inbox, replies grounded in your own documents, and leads qualified automatically.

  • Official Meta Cloud API
  • AI grounded in your docs
  • Free trial, no card
info@waboxa.com

Company

  • About Us
  • Why Choose Us
  • Career
  • Blog
  • Become a Partner

Product

  • Features
  • Solutions
  • Industry
  • Pricing
  • Portfolio
  • Resources

Developer

  • Documentation
  • Waboxa API
  • Site Map
  • Contact

Legal

  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Cookies

© Waboxa. All rights reserved.

Built on the official Meta WhatsApp Business Cloud API.