Gallery

Contacts

405 W. Greenlawn Ave Lansing, Michigan 48910

contact@techjacksolutions.com

+1-616-320-4064

Learning vertical
Track 03 · Applied & Agentic Novice ~7 min

Chatbots, then and now

A chatbot is just software you talk to. The first generation followed scripts and rules; the new generation is powered by large language models that understand free-form language. Learn the difference, how a modern chatbot is built, and when each approach makes sense — right here on the page.

Module progress
0%

01What a chatbot actually is

If you have ever texted a company and gotten an instant reply, you have already met a chatbot: software you hold a conversation with — by typing or speaking — that tries to answer questions or get something done. There are two broad generations. The first is rule-based (also called scripted): it follows decision trees, menus, and keyword or intent matching. It is predictable and safe, but brittle — step off the script and it fails. The second is LLM-powered: built on a large language model, it understands free-form language and is far more flexible and capable, but it can hallucinate (state something wrong with confidence) and needs guardrails.

  • Rule-based bots are deterministic — the same input always gives the same scripted reply.
  • LLM-powered bots handle messages they were never explicitly scripted for, but their answers must be checked and constrained.
  • Most real production bots are hybrid — rules for the critical flows, an LLM for open conversation, plus a path to a human.

02Same message, two generations

Here is the same customer message — "I need to change my flight" — handled two ways. Flip between a rule-based bot, which only understands what its menu was built for, and an LLM-powered bot, which understands the request in plain language and can act on it.

ExploreFlip between then & now
"I need to change my flight"

03Anatomy of a modern chatbot

A capable chatbot is more than "just the LLM." Five parts work together: it understands the user's intent, a dialog manager keeps track of the conversation, the LLM generates language, integrations connect to real systems (look up an order, book a slot), and guardrails keep it safe, on-scope, and able to hand off to a human. Tap each part to see what it does.

ExploreTap a part
A modern chatbot (how the parts fit)
Intent (NLU)what they want
Dialog managertracks the flow
LLMgenerates language
Integrationsreal systems
Guardrailssafety · scope · human handoff
Step 1 — making sense of the message

Intent (NLU)

Natural-language understanding works out what the user actually wants — their intent — and pulls out the useful details (dates, names, an order number). It turns a free-form sentence like "I need to change my flight" into something the rest of the system can act on.

04Rule-based, LLM-powered, or hybrid?

There is no single "best" kind of chatbot — it depends on the job. Rules give you control and predictability; an LLM gives you flexibility; a hybrid blends both. Switch between them to see when each fits.

ExploreSwitch approach

Rule-based — scripted & predictable

Follows decision trees, menus, and keyword or intent matching. Because every path is defined in advance, it is predictable and safe — great for narrow, well-defined tasks. The catch: it is brittle and fails the moment a user goes off-script.

good for menus, FAQs, fixed step-by-step flows
strength predictable, controllable, low risk
weakness breaks off-script — "I didn't understand"

LLM-powered — flexible & capable

Built on a large language model, it understands free-form language and can handle requests no one scripted in advance. Far more natural and capable — but it can hallucinate, so its answers and actions need guardrails and checks.

good for open questions, varied phrasing, broad topics
strength flexible, natural, handles the unexpected
weakness can be confidently wrong — needs guardrails

Hybrid — rules for the critical, LLM for the open

Most real production bots combine both: structured intents and rules for critical flows (payments, account changes) and an LLM for open conversation, all wrapped in guardrails with a path to a human. You get flexibility where it helps and control where it matters.

rules for payments, identity, anything high-stakes
llm for open chat, varied phrasing, "everything else"
always guardrails + a human handoff

05Check your understanding

TJS Quiz
window.onload=function(){window.print()}<\/scr'+'ipt>'; var w=window.open('','_blank'); if(w){ w.document.write(html); w.document.close(); } } function accentHex(){ var v=getComputedStyle(root).getPropertyValue('--tjq-accent').trim(); return v||'#2095e9'; } function dlCanvas(cv){ var a=document.createElement('a'); a.download=(D.id||'quiz')+'-result.png'; a.href=cv.toDataURL('image/png'); a.click(); } function shareCard(pct,cat){ var cv=$('#tjqCardCv'); if(!cv||!cv.getContext) return; var x=cv.getContext('2d'),W=cv.width,H=cv.height,acc=accentHex(); var g=x.createLinearGradient(0,0,W,H); g.addColorStop(0,'#0E1F40'); g.addColorStop(1,'#10294f'); x.fillStyle=g; x.fillRect(0,0,W,H); x.save(); x.globalAlpha=.16; x.fillStyle=acc; x.beginPath(); x.arc(W*.85,H*.16,160,0,7); x.fill(); x.restore(); x.fillStyle='rgba(255,255,255,.55)'; x.font='600 21px DM Sans, sans-serif'; x.fillText('TJS QUIZ · AI KNOWLEDGE HUB',58,76); x.fillStyle='#fff'; x.font='700 60px Fraunces, serif'; x.fillText(D.topic||'Quiz',56,168); x.fillStyle=acc; x.font='700 28px "Space Mono", monospace'; x.fillText(String(cat||'').toUpperCase(),58,H-150); x.fillStyle='#fff'; x.font='700 104px "Archivo Black", sans-serif'; x.fillText(pct+'%',54,H-52); x.fillStyle='rgba(255,255,255,.55)'; x.font='400 21px DM Sans, sans-serif'; x.fillText('scored on the '+(D.topic||'')+' quiz',58,H-22); x.strokeStyle=acc; x.lineWidth=8; x.strokeRect(0,0,W,H); if(cv.toBlob && navigator.canShare){ cv.toBlob(function(blob){ try{ var file=new File([blob],'quiz-result.png',{type:'image/png'}); if(navigator.canShare({files:[file]})){ navigator.share({files:[file],title:'My quiz result',text:'I scored '+pct+'% ('+cat+') on the '+(D.topic||'')+' quiz.'}).catch(function(){dlCanvas(cv);}); return; } }catch(e){} dlCanvas(cv); }); } else dlCanvas(cv); } function certPrint(pct,cat){ var raw=(($('#tjqCertName')||{}).value)||''; var name=esc(raw.trim()); var ds=new Date().toLocaleDateString(undefined,{year:'numeric',month:'long',day:'numeric'}); var id='TJQ-'+String(Math.floor(Math.random()*1e9)); var acc=accentHex(); var html='Certificate
Certificate of Completion

'+esc(D.topic||'Quiz')+'

This recognizes

'+(name||'—')+'

for completing the assessment at the '+esc(cat)+' level ('+pct+'%).

'+ds+' · TJS AI Knowledge Hub · ID '+id+'

A self-assessment summary recognizing completion of an educational module — not a professional certification.

window.onload=function(){window.print();}<\/scr'+'ipt>'; var w=window.open('','_blank'); if(w){ w.document.write(html); w.document.close(); } } renderStart(); })();

06Take it with you & go deeper

"Chatbots in 5 minutes" — one-page summary
The whole module distilled to a printable cheat-sheet.
▸ Already on the site — go deeper
▸ Coming next — deeper progression
Coming soon

Designing chatbot guardrails

Keeping an LLM-powered bot on-scope and safe — scope limits, safety checks, and human handoff.

In the pipeline
Coming soon

Intents vs LLM routing

How a hybrid bot decides when to follow a scripted intent and when to let the LLM take over.

In the pipeline

Continue learning

Sources & review

Published by Tech Jacks Solutions · Reviewed June 2026. This lesson explains established concepts and is grounded in the references below; figures shown in the interactives are illustrative and labelled as such.

Chatbots, then and now — in 5 minutes

Tech Jacks Solutions · AI Knowledge Hub · educational summary

What a chatbot is

Software you have a conversation with — by typing or speaking — to get answers or get something done. Two broad generations: rule-based (scripted) and LLM-powered.

Then — rule-based / scripted

Follows decision trees, menus, and keyword or intent matching. Predictable and safe, but brittle: step off the script and it fails ("I didn't understand"). Good for narrow, well-defined tasks.

Now — LLM-powered

Built on a large language model; understands free-form language and handles requests no one scripted. Flexible and capable, but can hallucinate (state something wrong with confidence), so it needs guardrails.

Most real bots are hybrid

Structured intents and rules for critical flows (payments, account changes), an LLM for open conversation, all wrapped in guardrails with a path to a human.

Anatomy of a modern chatbot

Intent (NLU) — works out what the user wants. Dialog manager — tracks the conversation. LLM — generates language. Integrations — connect to real systems (look up an order, book a slot). Guardrails — safety, scope, and escalation to a human.