Chatbots that answer from your approved content with sources, check orders and accounts through scoped lookups, and pass the conversation to a person, with a summary, when they shouldn’t answer.
Free discovery callNDA on requestFixed proposal after scoping
Help · Acme RetailILLUSTRATIVE
Can I return a sale item I opened?
Yes — opened sale items can be returned within the return window if they’re unused and in original packaging. Final-sale items are excluded.Source: Returns policy §3.2
It arrived damaged though.
Damage claims need a quick photo check, so I’m passing you to a teammate with your order details attached.→ Handed to support · order #A-10442 · summary attached
In short
An AI chatbot uses a language model to understand questions and answer in natural language. Solidity Labs builds chatbots grounded in your help center, policies and product data, with citations, read-only order and account lookups, guardrails against off-topic or unsafe answers, and a clean hand-off to your helpdesk. Channels include web, WhatsApp, Telegram, Slack and in-app chat.
Definition
What makes a modern AI chatbot different?
Rule-based bots follow scripts and break on unexpected wording. AI chatbots understand wording but need grounding and guardrails so they don’t invent answers.
Older chatbots matched keywords and walked users through decision trees. They were predictable, and they failed as soon as a customer phrased a question differently. AI chatbots understand free-form questions in many languages, but a raw language model will also answer confidently from memory, including things that are wrong for your business.
The engineering job is to make the bot answer only from what you have approved. We use retrieval over your help center, policies and product catalog, so every answer is grounded in a source the user can open. For anything personal (an order, a booking, a balance) the bot calls a read-only lookup instead of guessing. And when the question is sensitive, the confidence is low or the user asks for a person, the conversation moves to your team with a summary attached.
A chatbot answers. If it needs to change things (issue refunds, change bookings, update records), it becomes an AI agent, and we design approvals for each action it may take.
Problems we solve
Problems a good chatbot solves
Repetitive questions swamp the team
Shipping times, return rules, password resets and opening hours can fill much of a support team’s day. A grounded bot answers them the same way every time.
Customers wait outside office hours
Questions arrive at night and on weekends. The bot answers what it can and queues the rest with context, so the morning starts with a sorted queue.
Answers differ between agents
When the bot answers from the same approved policy every time, customers get consistent information, and agents get the same answer to copy.
Hand-offs lose context
Customers should not have to repeat themselves. A summary and the full transcript go with every escalation.
What we build
What we build
Grounded answering
Retrieval over your help center, policies, product data and, once cleaned of personal data and outdated answers, past resolved tickets. Every answer cites its source, and the bot says “I don’t know” when nothing relevant is found.
Read-only lookups
Order status, booking details or account information through per-user lookups to Shopify, your ERP or CRM. The bot can read one customer’s record, never change it.
Human hand-off
Escalation to Zendesk, Freshdesk, Intercom, HubSpot or Gorgias with a summary, the customer’s mood and the transcript.
Channels
Website widget, in-app, WhatsApp, Telegram, Slack or Microsoft Teams from one backend.
Guardrails
Topic boundaries, personal-data handling, abuse filtering and refusal rules for advice the bot must never give.
Content workflow
A simple way for your team to see which questions failed and fix the source content, not the prompt.
Analytics
Resolution rate, hand-off rate, top unanswered questions and satisfaction, in a dashboard your content owner reviews every week.
Use cases
Where chatbots work well
Ecommerce support
Order tracking, returns policy, sizing and product questions, with hand-off for damaged items and refunds.
SaaS product help
How-to questions answered from documentation, with links to the exact article and escalation for bugs.
Internal IT and HR helpdesk
Policy and how-to questions for employees, citing the intranet page, with tickets opened for anything that needs action.
Lead capture and qualification
Answer product questions, then collect requirements and book a call for qualified visitors.
Investor and member services
Questions about documents, statements and processes for fund or platform members, with sensitive cases routed to a person.
Multilingual support
Answer in the customer’s language from content written in one language, with translation quality checked in evaluation.
How it works
How the chatbot is put together
Answers come from approved content or read-only lookups. When neither fits, a person takes over.
Customer messageweb · WhatsApp · app
Input checksPII · abuse · language
Intent & confidence
Grounded answerapproved content + citation
Reply
Human hand-offhelpdesk + summary
Scoped lookupsorder · account status
Logs & evaluationreview · retrain content
Fig. 2 — Messages are checked, answered from approved content with citations, and handed to a person with full context when the bot is unsure or the topic is sensitive.
Channels
One conversation backend serving the web widget, WhatsApp Business Platform, Telegram and workplace chat.
Understanding
Intent detection and a confidence score decide whether to answer, look something up or escalate.
Knowledge
Hybrid retrieval (keyword and meaning-based search together) over approved content; answers must cite a source or say they don’t know.
Lookups
Read-only, per-user calls to commerce, CRM or booking systems, authenticated through the user’s session.
Hand-off
Helpdesk ticket with summary and transcript; where the helpdesk supports the channel, the agent replies in the same conversation.
Improvement loop
Unanswered questions and low ratings feed a recurring content review and the evaluation set.
Field notes
Where chatbot projects go wrong
Most chatbot problems are not model problems. They come from the content, the hand-off or the lack of a test set. These are the failure modes worth checking for, and what we check before a bot meets real customers.
Common failure modes
Two sources disagree. The help center says one thing and an old PDF says another. Retrieval finds both, and the bot picks one at random. Spot it by asking the same question in different words: if the answer changes, the sources conflict.
The bot answers from old tickets. Resolved tickets are a rich source, but they record what an agent said at the time, including exceptions and outdated policy. Use them to find questions, not as the answer of record.
The hand-off is a dead end. The bot says “I’ll pass you to a colleague” outside office hours and nothing happens. Every hand-off needs a stated next step: a ticket number, an expected channel for the reply, or a callback form.
Success is measured by deflection alone. A bot that refuses to escalate scores well on deflection and badly on satisfaction. Track resolution and hand-off rates together, and read a sample of conversations every week.
Lookups trust what the user types. If an order number alone opens an order, anyone with a guessed number can read it. Pair it with a second check, such as the email on the order or the logged-in session.
Before launch we check
The evaluation set covers the top questions, the questions the bot must refuse, and prompt-injection attempts, and the bot meets the bar agreed in the proposal.
Every answer in the set cites a source a customer can open, and the source is current.
Each lookup returns only the requesting user’s data, tested with a second account.
Hand-off works in every channel, in and outside office hours, and the agent sees the summary and transcript.
Logs redact personal data, and retention matches what your privacy notice says.
Each channel’s own rules are met, such as opt-in and message templates on WhatsApp.
Process
How we run it
01
Pick the conversations
On a free discovery call we look at the questions you get. With a sample of real tickets or chats, we choose the topics the bot should own first.
Free call
02
Prepare content
We find gaps and contradictions in your help content; the bot can only be as good as its sources.
Content audit
03
Scope and proposal
Channels, lookups, hand-off rules, languages and the evaluation set, in a fixed proposal with milestone-based payments agreed in it.
Fixed proposal
04
Build and test
Demos at a cadence agreed in the proposal, using real questions, including the ones the bot should refuse.
Regular demos
05
Soft launch and handover
A share of traffic or one channel first, then full launch when resolution and hand-off rates meet the agreed bar. Support for a period agreed in the proposal; source code and IP transfer to you on final payment.
Handover
Technology
Tools we use for this
Models
OpenAI
Anthropic Claude
Google Gemini
Mistral
Retrieval
pgvector
Qdrant
PostgreSQL
Channels
WhatsApp Business Platform
Telegram Bot API
Slack
Microsoft Teams
Web widget
Helpdesks
Zendesk
Freshdesk
Intercom
HubSpot
Gorgias
Runtime
Python
TypeScript
Node.js
Cloudflare
AWS
Scope drivers
What shapes scope
We don’t publish prices or week counts, because they depend on scope. These are the factors that actually move them.
01
Content readiness
Clean, current help content is quick to index. Contradictory or scattered content needs a cleanup pass first.
02
Number of channels
Each channel has its own rules, approval processes and message formats.
03
Lookups and authentication
Answering about a specific order or account requires secure user verification and integration work.
04
Languages
Each supported language needs evaluation cases and sometimes localized content.
05
Hand-off integration
Native helpdesk integrations differ; some need custom work to pass summaries and transcripts.
06
Volume and latency
High volume justifies caching and smaller models for routing; that design work lowers running cost.
Evaluation set, analytics and content-review workflow
You provide
Approved help content and policies
Access to commerce, CRM or helpdesk systems
A content owner who reviews unanswered questions
Licensed partners & providers
Model providers under their data terms
Meta (WhatsApp Business Platform) or other channel providers and their policies
Your helpdesk vendor
Security & quality
How we keep it safe and correct
Personal data redacted from logs; retention configurable
Lookups authenticated per user; no shared “see everything” keys
Prompt-injection and jailbreak tests in the evaluation set
Refusal rules for regulated advice and off-topic requests
Rate limiting and abuse detection on public channels
Engineering example
Permission-aware knowledge assistant
The same question answered for three roles: retrieval filters what each one may see, cites its sources, and escalates when it can’t answer.
Illustrative engineering example: synthetic data, not a client project. Verified case studies will appear here when consented ones exist.
FAQ
Questions buyers ask us
Not covered here? Ask us directly — a person reads every message.
How much does an AI chatbot cost to build?
It depends on content readiness, channels, lookups, languages and the helpdesk integration. We don’t publish prices; after a free discovery call and a look at your real conversations we send a fixed proposal split into milestones.
How do you stop the chatbot from making things up?
By grounding it: answers must come from retrieved, approved content and include a citation, or the bot says it doesn’t know and offers a person. We test this with an evaluation set that includes questions the bot must refuse.
Can the chatbot see order or account details?
Yes, through read-only lookups authenticated per user, for example an order number plus email, or the logged-in session in your app. The bot never gets broad database access.
Which channels can it run on?
Your website and app, WhatsApp, Telegram, Slack and Microsoft Teams, all from one backend. Each channel has its own rules. On WhatsApp, customers must opt in, and a message you start, or one sent after the 24-hour customer service window, must use an approved template. An automated chat also needs a clear path to a person. Meta’s terms bar AI providers from offering a general-purpose AI assistant there, but a bot that serves your own customers is allowed. We design for these rules from the start.
Does it hand over to a human?
Yes. Low confidence, sensitive topics or a request for a person create a ticket in your helpdesk with a summary and the full transcript, so the customer doesn’t have to repeat themselves.
Which AI model does it use?
We pick by testing your real questions against models from OpenAI, Anthropic, Google and others, and can route simple intents to a smaller, cheaper model. Because every model is scored on the same evaluation set, switching later is a measured change.
Will it work in multiple languages?
Yes. Current models handle many languages well; we add evaluation cases per language and check that answers stay faithful to the source content.
How do we improve it after launch?
A recurring review of unanswered questions and low ratings, on a schedule your team sets. Most fixes are content fixes in your help center, which also helps human agents.
Do we own the chatbot and its code?
Yes. Source code, prompts, the evaluation set and the infrastructure configuration transfer to you on final payment. An NDA is available on request before you share real tickets.
Chatbots answer, automations follow fixed steps, and agents decide their own steps. Picking the wrong one wastes money or adds risk. Here is a decision guide with examples, trade-offs and the questions to ask.
Retrieval-augmented generation gives a model your facts at answer time; fine-tuning changes how the model behaves. Most business problems need RAG first, some need fine-tuning, and a few need both. Here is how to tell which.
An AI agent reads untrusted text and can take actions, so a malicious email or web page can try to steer it. Here are the main risks, prompt injection, data leakage and excessive agency, and the controls that actually reduce them.
Solidity Labs · · 7 min read
Last reviewed: Reviewed by our independent expert review under our editorial policy