uuchats
← Blog

How to Train ChatGPT-Style AI on Your Own Website

By the uchats team · Updated December 6, 2026 · 6 min read

How to Train ChatGPT-Style AI on Your Own Website
Illustrative image

"Can I train ChatGPT on my website?" is one of the most common questions small business owners ask about AI. The short answer: you don't retrain the AI model itself. You give an AI assistant a searchable copy of your content and tell it to answer from that. The technique is called retrieval-augmented generation, or RAG.

This guide explains RAG in plain English, then shows how to prepare your content so the answers are good.

RAG in plain English

Think of a new receptionist on their first day. They're articulate and polite, but they don't know your prices or opening hours. You hand them a binder of your website pages and policies and say: "When someone asks something, look it up in here first, and only answer from what it says."

That's RAG:

  1. Collect. The system reads your website pages and documents.
  2. Split. It breaks them into short passages (a few paragraphs each).
  3. Index. It stores those passages so they can be searched by meaning, not just keywords. "Can I bring my dog?" can find a passage about "pet policy".
  4. Retrieve. When a visitor asks a question, it finds the most relevant passages.
  5. Answer. The AI writes a reply using only those passages, and links to where they came from.

Nothing is "baked into" the AI model. That's good news: update a page, and the next answer can use the new version.

Why "only answer from my content" matters

A general AI model has read a lot of the internet. Ask it about "your" return policy and it may produce a confident, plausible answer that's simply wrong for your business. That's called a hallucination.

Grounding the bot in your content, and telling it to say "I don't know" when the answer isn't there, does three things:

  • Protects customers from wrong prices, dates or policies.
  • Protects you. A business can be held responsible for what its chatbot tells customers. See our post on stopping chatbot hallucinations, including the Air Canada case.
  • Shows you gaps. Every "I don't know" is a question your website doesn't answer yet.

uchats works this way by design. It answers only from your content, shows source links, and when it can't find an answer it says so and offers a contact form.

Step 1: Prepare your content

Before you point any bot at your site, spend 30 minutes on these:

  • Fix the facts. Opening hours, prices, service areas, contact details. If the website is wrong, the bot will be wrong.
  • Remove or update old pages. A 2022 promotion page can still be found.
  • Write one clear FAQ page. Short question-and-answer pairs are easy to retrieve.
  • Say things in words, not only images. Text inside images (like a price list graphic) usually isn't readable. Put it in text or a PDF.
  • Use clear headings. "Delivery times" is better than "Good to know".
  • State the negatives. "We don't offer emergency call-outs" helps the bot answer "no" correctly instead of saying "I don't know".

Step 2: Let it crawl your site (sitemap first)

A sitemap is a file listing your site's pages, usually at yoursite.com/sitemap.xml. Most website builders (WordPress with an SEO plugin, Shopify, Wix, Squarespace) create one automatically.

uchats checks for your sitemap first (including one listed in robots.txt) and falls back to following links from your home page. It:

  • respects robots.txt and noindex tags, so pages you've hidden from search engines are skipped;
  • skips login, cart and checkout pages;
  • only reads pages on your own domain;
  • extracts the main readable text, not menus and footers.

If a page you need isn't learned, check it isn't blocked in robots.txt, and that it's linked from somewhere or listed in your sitemap. You can also add a single page directly. Details are in the user guide.

Step 3: Add PDFs and other documents

Plenty of useful knowledge isn't on your website:

Source Good for Format
Price lists, menus "How much is…?" PDF, CSV
Service brochures Detailed descriptions PDF, DOCX
Policies Returns, cancellations, terms PDF, DOCX, TXT
Product specs Sizes, materials, compatibility CSV, PDF
Internal FAQ Things only staff know TXT or pasted text

Tips:

  • Use text-based PDFs. A scanned image of a page may not contain readable text.
  • One topic per document is easier to keep up to date than one giant file.
  • Delete superseded versions. Two price lists means two possible answers.

Step 4: Add Q&A pairs for precise answers

Some questions need an exact answer every time: "Do you take walk-ins?", "Is there parking?", "Do you ship to Canada?" Add these as Q&A pairs. They act as authoritative answers the bot can rely on, and they're the fastest way to fix a wrong or missing answer.

Step 5: Set instructions (tone, not facts)

Custom instructions control how the bot talks:

  • Who it represents and its tone (friendly, formal, brief).
  • What to steer towards (booking a call, requesting a quote).
  • What to avoid (medical, legal or financial advice).

Don't put facts in instructions that should be in your content. Keep facts in pages, documents and Q&A pairs, where you can see and update them.

Step 6: Keep it fresh

Content drifts. Prices change, staff leave, services are added. Build a routine:

  • Automatic re-sync. On uchats paid plans your website is re-synced automatically.
  • Retrain after big changes. Launched a new service page? Press Retrain.
  • Review unanswered questions weekly. Answer each one once and the bot learns it.
  • Remove expired files when you upload new ones.
  • Check analytics for frequent topics. They often point to a page you should write.

Step 7: Test like a customer

Before going live, ask your bot:

  1. Your 20 most common questions, as customers phrase them (including typos).
  2. Questions where the answer is "no".
  3. A question that isn't covered anywhere. It should admit it.
  4. The same question in another language your customers use.

Check the source links on each answer. If a link points to the wrong page, that page probably needs clearer wording.

Common questions

Does my content train the public AI model? With a RAG setup, your content is stored in your assistant's own knowledge base and retrieved at answer time. Check each vendor's data policy for specifics.

How many pages can I add? It depends on the plan. On uchats, the Free plan includes 50 pages; see pricing for paid plans.

Can it answer from a password-protected area? Crawlers can't log in, so upload that content as a document instead, if it's appropriate to share publicly.

Try it on your own site

The fastest way to understand RAG is to watch it work on your content. Create a free uchats account, enter your website address, and ask it the questions your customers ask. Where it says "I don't know", you've found a page worth writing.