RAG Widget

Your customers ask.
Your site answers.

The widget answers from a knowledge base built from your website and documents — citing its sources. When it doesn't know, it says so instead of inventing an answer.

Cancel anytime · Live in 5 minutes · No coding required
BEFORE

General-purpose chatbot

It says "our return window is 30 days" — but your policy is 14. Customer trust and a returns dispute: lost. Answers come with no source and can't be audited.

AFTER

SemAgent RAG Widget

The answer comes from your own return-policy page, with the source shown beneath the message. For anything not in the knowledge base it doesn't make things up: it says "I don't have that on record" and points to human support.

How it works

From URL to live: 3 steps

Crawl

Enter your site address. The sitemap crawler walks your pages; forums (Discourse, phpBB, XenForo, vBulletin, inSided) are auto-detected. Upload PDFs and Word docs too.

Process

Smart chunking splits content into meaningful sections and filters boilerplate; the auto-FAQ generator prepares ready answers for common questions.

Publish

Paste one line of embed code. The widget carries your brand color, tone and welcome message — live instantly.

Grounding

Closed to made-up answers: strict-KB grounding

Generic LLM bots invent facts "to be helpful". SemAgent anchors every answer to your knowledge base: the source is shown under each reply, and below the confidence threshold the widget honestly redirects instead of answering.

  • Source citation on every answer
  • "I don't know" behavior — no hallucination
  • Hybrid search: keyword + semantic (pgvector)
grounding · example behavior
# Question IS in the knowledge base:
Customer: How fast is delivery?
Widget  : Orders arrive in 1-3 business days.
          ↳ Source: delivery-terms.html

# Question is NOT in the knowledge base:
Customer: Do you ship to Germany?
Widget  : I don't have that on record —
          shall I connect you to support?
          ✗ no fabricated answer
Knowledge base

Your site, forum, docs — one KB

Six crawl engines gather your content wherever it lives. Stealth crawling kicks in for Cloudflare-protected pages; long crawls resume from a checkpoint where they left off. You can follow why each page was taken or skipped from the log.

  • Sitemap BFS + 5 forum engines (auto-detection)
  • Forum filters like "answered topics only"
  • PDF, Word and text file upload
  • Scheduled re-crawls: content stays current
crawl-log · live view
 /products/trail-runner-x       indexed · 4 chunks
 /support/return-policy         indexed · 2 chunks
 forum/topic/8412 (Discourse)   answered ✓
 /campaign/old-2024             skipped: expired
 /faq  (stealth: CF challenge)  indexed · 6 chunks
── 312 pages · 1,204 chunks · FAQ generator: 47 questions
E-commerce

Live answers for order questions

Connect your Shopify store: the widget speaks with live store data, not just content. What it can't solve, it escalates to a human with a summary and priority tag.

  • Product search: stock, price, variants
  • Order status and shipment tracking
  • Customer account / order history lookup
  • Actions from chat (opt-in) — live: the customer verifies identity with an email code and can start order cancellation, return requests and address changes; the action is really performed in your store (refunds are approved by you). Off by default; each is protected by four gates + a one-time code + an audit log. The verification emails the customer receives are branded with your store logo, contact details and order products — so they know the email is from you
  • Smart escalation: angry customer, damaged item, payment issue → human
  • WooCommerce also connects via Consumer Key/Secret; the Ticimax adapter is in development
search_productssearch_ordersget_order_detailescalate_to_support
Store Assistant
Where is my order #1042?
Your order shipped today at 09:41 (courier, tracking: YK83…20). Estimated delivery: tomorrow.Source: Shopify · order #1042
What if the item arrives damaged?
So sorry! Report the damaged item with a photo and we'll start a free replacement. I can also connect you to our support team right away.Escalation ready · priority: high
Type your message…
Human handoff

A person when it matters — on your working hours

When a visitor wants to talk to a person, the conversation moves to your team and the AI goes quiet. The widget knows your working hours: if the team is online it says someone will be there shortly; outside hours it says when you're back and asks for an email.

  • "Talk to a person" button + explicit request detection; the AI offers a handoff after two unanswered questions
  • Weekly schedule, 24-hour days, holidays and special days
  • Teams, next-agent assignment, handoff rules, internal notes and tags
  • Handoff alerts: email · WhatsApp (business line) · SMS — email if nothing gets through
  • Support agent role: takes over conversations, can't change settings
Support
I'd like to talk to a human, please.
I've passed you to our team. We're outside working hours right now; the team is back Monday 09:00. Leave your email so you don't miss the reply.Handoff · outside hours · email requested
Your email…
Brand

Your voice, your look

The widget talks like your brand: persona and tone are set from the dashboard, and the colors and welcome message are yours. With multi-user management (RBAC), your team works within its own scope of permissions.

  • Tenant-specific persona and reply tone
  • Color, logo and welcome-message customization
  • Multi-user dashboard + role-based access (RBAC)
  • Answer-quality test bench: try before you go live
DASHBOARD · PERSONA SETUP
Assistant nameAlex
ToneFriendly-professional
LanguageEnglish (auto-detect)
Primary color#0E5F5B
Out-of-KB questionRedirect + escalate
Install

The embed code, in full

index.html
<script src="https://semagent.ai/static/widget.js"
        data-tenant-id="your-tenant-slug" defer></script>
Security
Tenant-isolated knowledge base Your data never trains models GDPR/KVKK-compliant
Trust Center →
FAQ

About the RAG Widget

When my knowledge base is updated, does the widget's answer update too?
Yes. Scheduled re-crawls refresh the content, and you can also re-index a single page by hand. The widget always answers from the current knowledge base.
My site is behind Cloudflare / bot protection — can it be crawled?
Yes. If standard crawling is blocked, a stealth browser (with a real browser fingerprint) steps in. Since you're crawling your own site, this is entirely legitimate use.
How many languages does the widget support?
The widget replies in the language the customer writes in; Turkish is our primary test language. If your knowledge base is in Turkish, it can still answer an English question by translating from the content in your knowledge base.
Can I test answer quality before going live?
Yes — there's a test bench in the dashboard: it runs sample questions and shows you the answers and their sources. The automatic FAQ generator also produces ready answers for common questions; you can edit all of them.
If I hit my limit, does the widget go silent?
As your limit approaches you're warned in the dashboard and by email; when it's reached, the widget shows the customer a graceful redirect message and never an error screen. You can upgrade your plan at any time.

Your site already knows the answers.
Let it speak.

Give us your URL; five minutes later your widget answers from your knowledge base.

Start free
Cancel anytime · 5-minute setup