AI chat trained on your own content
How to ground answers in your docs, catalog, and policies — without inventing details.
Generic chatbots sound confident and still get your return policy wrong. The fix isn’t a bigger model — it’s grounding: answers that cite your docs, catalog, and policies, and refuse to invent when the source is missing. Customers do not grade you on eloquence; they grade you on whether the warranty answer matches what support would say on a ticket.
On Build Me Web projects we treat AI chat as a product surface with content ops, safety rails, and escalation paths — not a widget you paste in before launch week. This post covers how grounding works, what belongs in the knowledge base, how we keep answers safe in production, where chat fits across One-time and Fully managed engagements, and how to start with a realistic discovery packet.
Grounding beats clever prompts
Prompt engineering alone cannot fix a missing policy page. Models will fill gaps with plausible language. That is useful for brainstorming and dangerous for customer commitments. Grounding flips the default: retrieve first, generate second, and constrain generation to the retrieved material.
We index approved content — help articles, product specs, shipping rules, FAQs — and retrieve relevant chunks before the model replies. The assistant must answer from those chunks or say it doesn’t know. That single rule prevents most hallucinations that erode trust. When multiple chunks conflict, we prefer the newest versioned source and surface uncertainty instead of blending incompatible policies into a fake compromise.
Retrieval quality matters as much as the model. Chunking strategy, metadata (product line, locale, audience), and freshness determine whether the right paragraph shows up. A brilliant model with stale shipping rates is still a wrong answer. We invest in the index and the refusal behavior before we invest in personality copy.
Personality still matters — tone should match your brand — but tone comes after truth. A warm wrong answer is worse than a plain “I don’t have that in our help center; here’s how to reach support.”
What we put in the knowledge base
Not every document deserves to be chat-ready. We start with sources that already have owners and update paths.
- Help center and docs pages with clear ownership
- Catalog fields that change with inventory (price, variants, availability)
- Policy PDFs converted to structured, versioned text
- Escalation paths when the answer needs a human
Stale content is worse than no content. We schedule re-ingestion when docs publish, and we expire chunks when pages are archived. Catalog fields should stream from the same commerce or PIM source the storefront uses; hard-coding prices into a vector store is how you invent discounts you cannot honor.
Policy PDFs are common and awkward. Scanned legalese does not retrieve well. We convert them into structured, reviewable text with version dates and owners, then keep the PDF as the canonical download while chat reads the structured layer. When legal updates the PDF, the structured layer updates in the same change set.
Escalation paths are content too. The assistant should know when to stop: billing disputes, medical or regulated advice outside published scope, abusive sessions, or anything requiring account authentication the widget does not have. Those handoffs need real destinations — live chat hours, ticket forms, phone lines — not a dead end.
We also decide what stays out. Internal runbooks, unpublished roadmap notes, and draft help articles do not belong in the customer-facing index. Separation of corpora is a safety control, not an afterthought.
Safety rails that matter in production
Grounding reduces invention; it does not remove operational risk. Production chat needs the same seriousness as any customer data path.
- Block PII and payment data from prompts and logs
- Rate-limit abusive sessions
- Show sources or “based on our help center” labels for sensitive topics
- Hand off to live chat or forms when confidence is low
PII controls include input filters, redaction in logs, and clear UI copy that tells users not to paste card numbers into the widget. Rate limits and abuse detection protect cost and availability. Source labels set expectations: shoppers should know they are reading derived help-center guidance, not a binding custom legal opinion.
Low-confidence handoff is where many bots fail. If retrieval returns weak matches, the assistant should offer human help instead of improvising. We tune confidence and refusal thresholds with real ticket samples during discovery, then revisit them after launch with a sampled review of transcripts.
Access control matters for authenticated experiences. An assistant that can see order history must authenticate like any other account surface. Public marketing-site chat should not pretend to know a customer’s private orders.
Designing conversations that convert without deceiving
AI chat can reduce support load and guide shoppers toward the right SKU — when it stays honest. We avoid dark patterns: no fake “limited stock” claims, no invented wait times for human agents, no forcing chat before a simple FAQ answer. Suggested prompts should reflect real high-volume intents from your tickets and search logs.
For commerce, chat works best as a complement to strong PDP content and cart recovery, not a replacement. Sizing help, compatibility checks, and policy clarifications are high-value intents. Open-ended “convince me to buy” prompts are where models wander; we keep those constrained to published benefits and reviews you actually display on the site.
For B2B and services sites, chat often shines on packaging explanations, implementation timelines published in docs, and routing to the right start-project form. Lead quality improves when the assistant asks clarifying questions drawn from your discovery checklist instead of collecting emails with no context.
Where AI chat fits in an engagement
On Launch projects, we can embed a scoped assistant over a small doc set — typically a focused FAQ and key policy pages — with clear refusals and a single escalation path. That proves value without pretending the entire support org is automated on day one.
Growth and Managed engagements usually include content ops so the knowledge base stays current as the business changes. That means publish hooks from the CMS or docs toolchain, periodic transcript review, and backlog items when the same unanswered question appears repeatedly. Unanswered questions are a content roadmap, not just a model failure.
We also connect chat analytics to your conversion tracking model where appropriate: helpful intents, escalations, and assisted conversions — without stuffing personally sensitive transcript text into ad platforms. Measurement should improve the product, not create a new privacy problem.
If the chatbot can’t cite it, it shouldn’t say it. Customers forgive “I’m not sure” — they don’t forgive a made-up warranty.
Operating the assistant after launch
Launch is the start of the content loop. Weekly or biweekly, we sample transcripts for refusals that should have been answers, answers that should have been refusals, and tone issues. Owners update source pages; the index follows. Model upgrades happen on a schedule with regression checks against a golden set of questions your team maintains.
Golden sets are unglamorous and essential. Include edge cases: discontinued products, regional shipping differences, overlapping promo rules, and questions outside scope. When a model or prompt change ships, the golden set must still pass before production.
Cost controls belong in the same operating review: token usage, retrieval hit rates, and whether a cheaper path (better FAQ IA, clearer PDPs) would remove the need for chat on certain intents entirely. Sometimes the best AI improvement is fixing the page the bot was papering over.
Implementation checklist we use on projects
Before an assistant goes live on a Build Me Web site, we walk a concrete checklist with the client. Source inventory signed off by content owners. Index pipeline connected to publish events. Refusal and escalation copy reviewed by support leads. PII filters and logging redaction verified in a preview environment. Golden-question suite green across the intents you care about most. Analytics events for helpful resolution, escalation, and dead-end defined in the same vocabulary as the rest of your conversion tracking.
We also decide placement and prompting UX: floating launcher versus contextual help on PDFs and PDPs, default suggested questions versus a blank box, and whether authenticated account help is a separate assistant with stricter access. Placement changes behavior as much as the model. A cart-page helper that answers shipping thresholds reduces abandon friction; the same helper on a blog post may mostly distract.
Localization, when required, is treated as first-class content — not a translation layer bolted on later. Each locale needs its own approved corpus, shipping rules, and escalation hours. Mixing locales in one index is a fast path to confident wrong answers.
Next step
Bring a sample FAQ and a week of support tickets to discovery. We’ll map which answers are safe to automate and which should stay with your team. Add any policy PDFs, catalog constraints, and escalation SLAs you already promise customers. From that packet we can scope a grounded assistant that earns trust instead of gambling it.
If you already run a generic chatbot, bring transcript samples of the failures that hurt most — wrong policies, invented SKUs, or loops that never escalate. Those failures become acceptance tests for the grounded build. AI chat trained on your own content is not magic. It is disciplined publishing, careful retrieval, honest refusals, and human backup. Done that way, it becomes a reliable part of the experience — the same standard we hold for previews, deploys, and conversion tracking elsewhere on the stack.