AI chatbot on your website: grounding answers in your own pages
How a grounded website assistant works
A grounded assistant does not answer from whatever a general model happens to know. It first finds the passages on your site that are relevant to the question, then writes an answer using only those passages. That order is what keeps the answer tied to what your business actually says.
The usual flow is short. Each step is a place where the design can go wrong, so check each one.
- Index your content: split each page into passages and store them with the page address and the last updated date.
- Receive the question and search the index for the passages that match it.
- Pass only those passages to the model, with instructions to answer from them and nothing else.
- Return the answer with links to the pages it used.
- If nothing relevant is found, say so and offer a route to a person.
What it should answer and what it should not
Decide the scope before you write any code. A useful assistant answers the questions your staff answer every week, from material you approve, and it stops where the material stops.
- Answer: products, services, delivery, returns, opening hours, published prices and contact details, as long as they come from your current pages.
- Decline: legal, medical or investment advice, personal account details and anything that needs a person to check.
- Avoid: promises of outcomes, comparisons with named competitors unless you have approved the wording, and speculation about future plans.
- Handle with care: prices and stock levels, which change, so show the date of the source or link to the live page.
Citations, links and clear limits
Every answer should point to where it came from. Links let visitors read the full policy or product page, and they make errors easier to spot. A visitor who sees a source is less likely to rely on a misreading of a detail such as a fee or a deadline.
State the limits openly. Tell visitors that the assistant is an AI, what it can help with and what it cannot, and how to reach a person. Check the current disclosure rules for your market, since they differ.
Handing off to a person or a form
A handoff is the most important feature after accuracy. Visitors who cannot get a clear answer should reach a person quickly, without repeating themselves.
- Trigger a handoff when the visitor asks for a person, when the question concerns their own account or order, or when the assistant has failed to answer twice.
- Collect the minimum contact details needed, and tell the visitor what happens next.
- Pass the conversation transcript to the staff member, so they start with the context.
- Show your opening hours or response time honestly, so the visitor knows when to expect a reply.
Visitors who write in other languages
A multilingual site needs sources in each language the assistant will answer in. An assistant can translate on the fly, but policy wording and product names are risky to translate automatically, so review the key pages in each language first.
Let visitors choose their language, and avoid mixing traditional and simplified Chinese or regional variants of English on the same answer. Test a few questions in each language before you launch.
Measuring whether it helps
Measure the outcomes that matter to the business, not only how many chats happened. Read a sample of transcripts every week, at least in the first months.
- The share of questions answered from your sources, and the share that were declined or handed off.
- Questions with no good source, which show the content gaps to fill.
- Enquiries, bookings or sign-ups that followed a conversation, tracked in your own system.
- Visitor feedback on each answer, with a short reason field for thumbs-down.
- Wrong answers found in review, traced back to the source page that caused them.
How Hundred Seas helps
Hundred Seas is a product studio in Taipei. We build AI agents and AI CRM systems on Claude and on OpenAI models, and we choose the model for each task on cost, speed, quality and where the client's data has to stay. For a website assistant, that model choice sits next to the content work of deciding which pages it may answer from.
Projects start with a scoping step, roughly one week at a fixed price, that produces a written plan, a clickable prototype and a firm quote. Build follows in weekly releases of working software. A monthly run plan then keeps the content index and the assistant current as your pages change.
Questions
- Will a website chatbot make up answers?
- It can, which is why the design matters. Limit it to passages retrieved from your own content, instruct it to say when the material does not cover a question, and test it with questions you know are unanswerable. Review transcripts regularly to catch new gaps.
- Should the chatbot show its sources?
- In most cases, yes. Links to the source page let visitors check details such as opening hours or fees, and they reduce the risk of a misreading. Show the page's last updated date where you can, so visitors can judge how current the answer is.
- Can the assistant take bookings or payments?
- That is a separate design decision. Taking actions needs connections to your booking or payment systems, permission rules and a confirmation step. Start with answers and handoffs, then add actions only after testing, with a person able to correct mistakes.
- How do I tell visitors they are talking to AI?
- Say so clearly at the start of the conversation and near the input box. Explain what the assistant can help with, what it cannot, and how to reach a person. Check the current disclosure rules for your market before you launch.
- What content should I prepare first?
- Start with the pages visitors ask about most, such as products, services, delivery, returns, opening hours and contact details. Make sure each page is accurate, dated and free of conflicting information, because the assistant can be no clearer than its sources.