Skip to content
Questions? Call us 24/7:+1 (330) 293-4864

RAG chatbot demo: ask a dental clinic's documents anything

This is the core of a RAG (retrieval-augmented) assistant. Ask a question about Lake Sarah Dental, a fictional clinic, and an AI model running inside your browser finds the answer in the clinic's own documents and shows you exactly where it came from.

Runs on your deviceNothing sent to a serverAnswers only from the documents

The clinic's documents

    How it works

    1. On your first question, a small AI model (about 23 MB) loads into your browser.
    2. It turns every passage in the documents, and your question, into numbers that capture meaning.
    3. It finds the passages closest in meaning to your question, not just matching keywords.
    4. It shows the best match and its source. If nothing fits, it says so instead of guessing.

    Lake Sarah Dental is a fictional clinic, and its prices and policies are sample data for this demo. This demo shows the search step of a RAG assistant. In the assistants we build for clients, a language model then writes a natural reply from the passages it finds, and can book appointments or hand over to your team.

    What is a RAG chatbot?

    A RAG (retrieval-augmented generation) chatbot answers questions from a business's own documents instead of from general internet knowledge. It first retrieves the passages most relevant to the question, then a language model writes the answer from those passages and shows where it came from. This keeps answers accurate, up to date and checkable.

    How this demo works

    1. The fictional Lake Sarah Dental has four documents: a patient FAQ, a price list, office policies and an aftercare guide, split into 28 short passages.
    2. On your first question, a small open-source embedding model (all-MiniLM-L6-v2, about 23 MB) loads into your browser.
    3. The model turns every passage, and your question, into numbers that capture meaning, so "Are you open on Saturdays?" matches the opening-hours passage even without the same words.
    4. It shows the closest passage, highlights the best sentence and names the source document. If the best match scores below 35%, it says the answer is not in the documents instead of guessing.

    This demo shows the retrieval step. In the RAG chatbots we build for clients, a language model then writes a natural reply from the passages it finds.

    Where businesses use RAG assistants

    Common uses are answering customer questions on a website, helping staff find policies and procedures, and supporting support desks in clinics, online stores and professional services.

    RAG chatbot demo FAQs

    What does RAG stand for?

    RAG stands for retrieval-augmented generation. The AI retrieves relevant passages from your own documents and uses them to generate its answer, so it relies on your information rather than guessing.

    Does my question leave my browser in this demo?

    No. The AI model runs on your own device after it loads, and your questions are never sent to a server. Only the model files are downloaded, once.

    How is a RAG chatbot different from ChatGPT?

    ChatGPT answers from what it learned in training, which may be outdated or not about your business. A RAG chatbot searches your own documents first and answers from them, showing its source, so the answers match your real prices, policies and hours.

    Can a RAG chatbot use my own documents?

    Yes. A RAG assistant can be built on your website pages, PDFs, policies, FAQs, help articles or shared drives. We decide together what it may answer, and anything outside that is handed to your team.

    Why does the demo refuse some questions?

    When no passage matches the question closely enough, the demo says the answer is not in the documents. Refusing to guess is a key feature of a trustworthy business assistant.

    Free AI tools · Try them now

    More free AI tools to try

    Each one takes a few minutes and shows a different way AI can save your business time.

    Free calculator

    Missed-call and AI savings calculators

    See what missed calls and repetitive admin cost your business each year, in under a minute.

    Calculate your savings →
    Live demo with audio

    Hear an AI receptionist book an appointment

    Listen to our AI receptionist answer a caller's questions, check a live calendar and book a consultation.

    Play the call →
    Quiz and free PDF

    AI Readiness Quiz

    Answer 10 quick questions to get your AI readiness score and the three AI projects likely to save you the most time.

    Take the 3-minute quiz →
    Real builds

    Agent Lab: AI systems we built

    Watch real AI agents and dashboards in action, open the live apps and download a free n8n lead workflow.

    Explore Agent Lab →

    THE NEXAINTELLECT AI BRIEF

    One practical AI idea for your business, straight to your inbox.

    Weekly. No spam, no hype. Unsubscribe any time.

    By subscribing you agree to our Privacy Policy.