Blog
Technical 4 min read

RAG vs intent-based: why your chatbot should read your website

If you used a chatbot before 2023, you've probably experienced this frustration: asking a question, getting "I didn't understand", rephrasing three times, and ending up searching the site yourself. This experience problem came from a fundamental architectural limit: chatbots were built on intents. RAG changes everything.

How the old approach worked: "intent-based" chatbots

An intent-based bot works in three steps:

  1. The admin defines a list of intents: "price request", "opening hours", "order cancellation", and so on.

  2. For each intent, the admin writes 5-10 example sentences that trigger it ("How much does it cost?", "What's your rate?", "Is it free?")

  3. The admin writes the fixed reply attached to each intent

When a visitor types, the bot calculates how similar their sentence is to the defined intents. If the similarity exceeds a threshold, it triggers the matching reply. Otherwise, it falls back to: "I didn't understand".

The three blocking limits

  • Huge maintenance burden: if you add a page to your site, you have to create a new intent + example phrases + a reply. For a site with 100 pages, that's a month's work.

  • Weak coverage: as intents accumulate, the boundaries become blurred. The sentence "Are you closed this summer?" might match "opening hours", "holidays", "exceptional closure"... or none at all.

  • Frozen answers: replies are written in advance, so they can't adapt to context. "Hello, I'm coming from X, do you accept my health card?" → pre-written reply "Here are our opening hours"

The RAG approach: your website IS the knowledge base

RAG stands for Retrieval-Augmented Generation. It combines two building blocks:

Building block 1: Retrieval (semantic search)

During installation, Omybox crawls your website, splits each page into "chunks" of a few paragraphs, and calculates an embedding vector for each chunk — a mathematical representation of the text's meaning (1024 dimensions).

These vectors are stored in a vector database (pgvector in our case). When a visitor asks a question, we calculate the vector of their question and retrieve the 4-6 chunks that are semantically closest — not by keywords, but by meaning.

Building block 2: Generation (LLM)

The retrieved chunks plus the visitor's question are sent to a large language model. The LLM formulates a natural answer, relying strictly on these chunks. If the context doesn't contain the answer, it says "I don't know" and suggests escalation.

The 5 concrete benefits of RAG

  1. Zero maintenance. You edit a page → our plugin synchronises → the bot is up to date. No intent to create, no example phrase to write.

  2. Total coverage. Every indexed page is reachable by every question that can be asked. No boundaries between topics.

  3. Automatic multilingual support. The LLM detects the language of the question and replies in that language, even if your site is only in French.

  4. Contextual understanding. Conversational phrasing, implications, spelling mistakes: all of it gets through.

  5. Controlled hallucinations. The LLM is instructed in its system prompt to answer only from the provided context. If the information isn't there, it says "I don't know". No invention.

And the limits of RAG?

RAG isn't magic. Three cases where it falls short:

  • Calculations and logic: a RAG doesn't do calculations ("What's the price for 2 adults + 1 child?"). For that, you need "AI actions" that call code.

  • Dynamic data: a RAG doesn't know your real-time stock or the status of an order. You need tools (function calling) that query your APIs.

  • Transactional tasks: placing an order, changing an account. Again, AI actions.

For 80% of websites (showcase sites, blogs, practices, associations, simple e-commerce), RAG alone is enough. AI actions are coming to the Omybox 2026 H2 roadmap to cover the remaining 20%.

How can you test whether RAG suits you?

The simplest way: try it. Type your website's URL on our homepage and ask 5 questions your site normally answers. You'll see straight away whether the quality of the answers meets your needs.

Going further: Technical FAQ or create a free account to test on your real website.

Live demo

Try your AI assistant on your own website.

Enter your address. We read your website and show you, right here, how your AI assistant would answer your visitors.

No credit card Preview in moments Nothing to install